1. 05 12月, 2007 9 次提交
    • J
      t5510: add a bit more tests for fetch · c7015961
      Junio C Hamano 提交于
      "git pull/fetch" that gets explicit refspecs from the command line should
      not update configured tracking refs.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c7015961
    • J
      Merge branch 'wc/add-i' · ab7d7076
      Junio C Hamano 提交于
      * wc/add-i:
        git-add -i: add help text for list-and-choose UI
        add -i: allow prefix highlighting for "Add untracked" as well.
        Highlight keyboard shortcuts in git-add--interactive
        Document all help keys in "git add -i" patch mode.
        Add "--patch" option to git-add--interactive
        add -i: Fix running from a subdirectory
        builtin-add: fix command line building to call interactive
        git-add -i: allow multiple selection in patch subcommand
        Add path-limiting to git-add--interactive
        Teach builtin-add to pass multiple paths to git-add--interactive
      ab7d7076
    • J
      Merge branch 'kh/commit' · 31cbb5d9
      Junio C Hamano 提交于
      * kh/commit: (33 commits)
        git-commit --allow-empty
        git-commit: Allow to amend a merge commit that does not change the tree
        quote_path: fix collapsing of relative paths
        Make git status usage say git status instead of git commit
        Fix --signoff in builtin-commit differently.
        git-commit: clean up die messages
        Do not generate full commit log message if it is not going to be used
        Remove git-status from list of scripts as it is builtin
        Fix off-by-one error when truncating the diff out of the commit message.
        builtin-commit.c: export GIT_INDEX_FILE for launch_editor as well.
        Add a few more tests for git-commit
        builtin-commit: Include the diff in the commit message when verbose.
        builtin-commit: fix partial-commit support
        Fix add_files_to_cache() to take pathspec, not user specified list of files
        Export three helper functions from ls-files
        builtin-commit: run commit-msg hook with correct message file
        builtin-commit: do not color status output shown in the message template
        file_exists(): dangling symlinks do exist
        Replace "runstatus" with "status" in the tests
        t7501-commit: Add test for git commit <file> with dirty index.
        ...
      31cbb5d9
    • J
      Merge branch 'sp/refspec-match' · 9bbe6db8
      Junio C Hamano 提交于
      * sp/refspec-match:
        refactor fetch's ref matching to use refname_match()
        push: use same rules as git-rev-parse to resolve refspecs
        add refname_match()
        push: support pushing HEAD to real branch name
      9bbe6db8
    • A
      Simplify crud() in ident.c · f64c81d4
      Alex Riesen 提交于
      Signed-off-by: NAlex Riesen <raa.lkml@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f64c81d4
    • H
      Do not rely on the exit status of "unset" for unset variables · 51884080
      H.Merijn Brand 提交于
      POSIX says that exit status "0" means that "unset" successfully unset
      the variable.  However, it is kind of ambiguous if an environment
      variable which was not set could be successfully unset.
      
      At least the default shell on HP-UX insists on reporting an error in
      such a case, so just ignore the exit status of "unset".
      
      [Dscho: extended the patch to git-submodule.sh, as Junio realized that
       this is the only other place where we check the exit status of "unset".]
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      51884080
    • İ
    • J
      t9600: require cvsps 2.1 to perform tests · dcbcb707
      Jeff King 提交于
      git-cvsimport won't run at all with less than cvsps 2.1, because it
      lacks the -A flag. But there's no point in preventing people who have an
      old cvsps from running the full testsuite.
      Tested-by: NA Large Angry SCM <gitzilla@gmail.com>
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dcbcb707
    • J
      contrib: Make remotes2config.sh script more robust · afa75bc8
      Jakub Narebski 提交于
      The remotes2config.sh script replaced all 'unsafe' characters in repo
      name with '.'; include '-' in the 'safe' characters set (the set is
      probably even larger).
      
      Script required also space after "URL:", "Push:" and "Pull:" in
      remotes file. This for example made the following remote
        URL: git://git.kernel.org/pub/scm/git/git.git
        Pull: refs/heads/master:refs/heads/origin
        Pull:+refs/heads/pu:refs/heads/pu
      miss 'pu' branch (forced branch) in config file after conversion.
      Allow for any number of whitespace after "URL:", "Push:", "Pull:".
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      afa75bc8
  2. 04 12月, 2007 14 次提交
  3. 03 12月, 2007 17 次提交