1. 19 8月, 2010 16 次提交
  2. 18 8月, 2010 1 次提交
    • D
      mergetool: Skip autoresolved paths · bb0a484e
      David Aguilar 提交于
      When mergetool is run without path limiters it loops
      over each entry in 'git ls-files -u'.  This includes
      autoresolved paths.
      
      Teach mergetool to only merge files listed in 'rerere status'
      when rerere is enabled.
      
      There are some subtle but harmless changes in behavior.
      We now call cd_to_toplevel when no paths are given.
      We do this because 'rerere status' paths are always relative
      to the root.  This is beneficial for the non-rerere use as
      well in that mergetool now runs against all unmerged files
      regardless of the current directory.
      
      This also slightly tweaks the output when run without paths
      to be more readable.
      
      The old output:
      
      Merging the files: foo
      bar
      baz
      
      The new output:
      
      Merging:
      foo
      bar
      baz
      Signed-off-by: NDavid Aguilar <davvid@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      bb0a484e
  3. 16 8月, 2010 2 次提交
    • D
      git-svn: fix fetch with deleted tag · 3235b705
      David D. Kilzer 提交于
      Currently git-svn assumes that two tags created from the same
      revision will have the same repo url, so it uses a ref to the
      tag without checking that its url matches the current url.
      
      This causes issues when fetching an svn repo where a tag was
      created, deleted, and then recreated under the following
      circumstances:
      
      - Both tags were copied from the same revision.
      - Both tags had the same name.
      - Both tags had different repository paths.
      - [Optional] Both tags have a file with the same name but
        different content.
      
      When all four conditions are met, a checksum mismatch error
      occurs because the content of two files with the same path
      differs (see t/t9155--git-svn-fetch-deleted-tag.sh):
      
          Checksum mismatch: ChangeLog 065854....
          expected: ce771b....
               got: 9563fd....
      
      When only the first three conditions are met, no error occurs
      but the tag in git matches the first (deleted) tag instead of
      the last (most recent) tag (see
      t/t9156-git-svn-fetch-deleted-tag-2.sh).
      
      The fix is to verify that the repo url for the ref matches the
      current url.  If the urls do not match, then a "tail" is grown
      on the tag name by appending a dash and rechecking the new ref's
      repo url until either a matching repo url is found or a new tag
      is created.
      Signed-off-by: NDavid D. Kilzer <ddkilzer@kilzer.net>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      3235b705
    • D
      git-svn: fix regex to remove "tail" from svn tags · 54fb7f9b
      David D. Kilzer 提交于
      Fix a regular expression used to remove the revision from the
      end of an svn tag or branch name.  The regex did not account for
      any "tail" (dashes) that may have been added to the end of the
      tag name (which first appeared in v1.4.1-rc2~11).  If not fixed,
      tags with names like "tags/mytag@5--@2" may be created.
      Signed-off-by: NDavid D. Kilzer <ddkilzer@kilzer.net>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      54fb7f9b
  4. 13 8月, 2010 12 次提交
  5. 12 8月, 2010 8 次提交
  6. 10 8月, 2010 1 次提交
    • J
      Merge branch 'maint' · 0d0ba03a
      Junio C Hamano 提交于
      * maint:
        gitweb: clarify search results page when no matching commit found
        Documentation: add a FILES section for show-ref
        Makefile: add missing dependency on http.h
        Makefile: add missing dependencies on url.h
        Documentation/git-log: Clarify --full-diff
        git-rebase: fix typo when parsing --force-rebase
        imap-send: Fix sprintf usage
        prune: allow --dry-run for -n and --verbose for -v
        notes: allow --dry-run for -n and --verbose for -v
        Document -B<n>[/<m>], -M<n> and -C<n> variants of -B, -M and -C
        Documentation: cite git-am from git-apply
        t7003: fix subdirectory-filter test
        Allow "check-ref-format --branch" from subdirectory
        check-ref-format: handle subcommands in separate functions
        pretty-options.txt: match --format's documentation with implementation.
      0d0ba03a