1. 26 7月, 2010 3 次提交
  2. 08 7月, 2010 1 次提交
  3. 05 3月, 2010 1 次提交
  4. 17 2月, 2010 1 次提交
    • J
      dwim_ref: fix dangling symref warning · 003c6abd
      Jeff King 提交于
      If we encounter a symref that is dangling, in most cases we will warn
      about it. The one exception is a dangling HEAD, as that indicates a
      branch yet to be born.
      
      However, the check in dwim_ref was not quite right. If we were fed
      something like "HEAD^0" we would try to resolve "HEAD", see that it is
      dangling, and then check whether the _original_ string we got was
      "HEAD" (which it wasn't in this case). And that makes no sense; the
      dangling thing we found was not "HEAD^0" but rather "HEAD".
      
      Fixing this squelches a scary warning from "submodule summary HEAD" (and
      consequently "git status" with status.submodulesummary set) in an empty
      repo, as the submodule script calls "git rev-parse -q --verify HEAD^0".
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      003c6abd
  5. 16 2月, 2010 2 次提交
  6. 11 2月, 2010 1 次提交
    • J
      t8003: check exit code of command and error message separately · 33f0ea42
      Junio C Hamano 提交于
      Shell reports exit status only from the most downstream command
      in a pipeline.  In these tests, we want to make sure that the
      command fails in a controlled way, and produces a correct error
      message.
      
      This issue was known by Jay who submitted the patch, and also was
      pointed out by Hannes during the review process, but I forgot to
      fix it up before applying.  Sorry about that.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      33f0ea42
  7. 09 2月, 2010 1 次提交
  8. 01 2月, 2010 2 次提交
  9. 30 1月, 2010 1 次提交
  10. 21 1月, 2010 5 次提交
  11. 19 1月, 2010 6 次提交
    • J
      Merge branch 'maint-1.6.4' into maint-1.6.5 · 03c6e97f
      Junio C Hamano 提交于
      * maint-1.6.4:
        Fix mis-backport of t7002
        base85: Make the code more obvious instead of explaining the non-obvious
        base85: encode_85() does not use the decode table
        base85 debug code: Fix length byte calculation
        checkout -m: do not try to fall back to --merge from an unborn branch
        branch: die explicitly why when calling "git branch [-a|-r] branchname".
        textconv: stop leaking file descriptors
        commit: --cleanup is a message option
        git count-objects: handle packs bigger than 4G
        t7102: make the test fail if one of its check fails
      03c6e97f
    • J
      Merge branch 'maint-1.6.3' into maint-1.6.4 · 814035c1
      Junio C Hamano 提交于
      * maint-1.6.3:
        base85: Make the code more obvious instead of explaining the non-obvious
        base85: encode_85() does not use the decode table
        base85 debug code: Fix length byte calculation
        checkout -m: do not try to fall back to --merge from an unborn branch
        branch: die explicitly why when calling "git branch [-a|-r] branchname".
        textconv: stop leaking file descriptors
        commit: --cleanup is a message option
        git count-objects: handle packs bigger than 4G
        t7102: make the test fail if one of its check fails
      
      Conflicts:
      	builtin-commit.c
      814035c1
    • J
      Merge branch 'maint-1.6.2' into maint-1.6.3 · 011c181c
      Junio C Hamano 提交于
      * maint-1.6.2:
        base85: Make the code more obvious instead of explaining the non-obvious
        base85: encode_85() does not use the decode table
        base85 debug code: Fix length byte calculation
        checkout -m: do not try to fall back to --merge from an unborn branch
        branch: die explicitly why when calling "git branch [-a|-r] branchname".
        textconv: stop leaking file descriptors
        commit: --cleanup is a message option
        git count-objects: handle packs bigger than 4G
        t7102: make the test fail if one of its check fails
      
      Conflicts:
      	diff.c
      011c181c
    • J
      Merge commit 'v1.6.4.4-8-g8de65185' into maint-1.6.4 · 18d97f5f
      Junio C Hamano 提交于
      * commit 'v1.6.4.4-8-g8de65185':
        Fix mis-backport of t7002
      18d97f5f
    • J
      Fix mis-backport of t7002 · 8de65185
      Junio C Hamano 提交于
      The original patch that became cfe370c6 (grep: do not segfault when -f is
      used, 2009-10-16), was made against "maint" or newer branch back then, but
      the fix addressed the issue that was present as far as in 1.6.4 series.
      
      The maintainer backported the patch to the 1.6.4 maintenance branch, but
      failed to notice that the new tests assumed the setup done by the script
      in "maint", which did quite a lot more than the same test script in 1.6.4
      series, and the output didn't match the expected result.
      
      This should fix it.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8de65185
    • J
      grep: NUL terminate input from a file · 34f39992
      Jim Meyering 提交于
      Internally "git grep" runs regexec(3) that expects its input string
      to be NUL terminated.  When searching inside blob data, read_sha1_file()
      automatically gives such a buffer, but builtin-grep.c forgot to put
      the NUL at the end, even though it allocated enough space for it.
      Signed-off-by: NJim Meyering <meyering@redhat.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      34f39992
  12. 15 1月, 2010 1 次提交
  13. 10 1月, 2010 5 次提交
  14. 08 1月, 2010 1 次提交
    • B
      git-rm doc: Describe how to sync index & work tree · 47b70120
      Björn Gustavsson 提交于
      Newcomers to git that want to remove from the index only the
      files that have disappeared from the working tree will probably
      look for a way to do that in the documentation for 'git rm'.
      
      Therefore, describe how that can be done (even though it involves
      other commands than 'git rm'). Based on a suggestion by Junio,
      but re-arranged and rewritten to better fit into the style of
      command reference.
      
      While at it, change a single occurrence of "work tree" to "working
      tree" for consistency.
      Signed-off-by: NBjörn Gustavsson <bgustavsson@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      47b70120
  15. 07 1月, 2010 1 次提交
  16. 01 1月, 2010 2 次提交
  17. 30 12月, 2009 6 次提交