1. 02 9月, 2011 1 次提交
    • J
      list-objects: pass callback data to show_objects() · 49473672
      Junio C Hamano 提交于
      The traverse_commit_list() API takes two callback functions, one to show
      commit objects, and the other to show other kinds of objects. Even though
      the former has a callback data parameter, so that the callback does not
      have to rely on global state, the latter does not.
      
      Give the show_objects() callback the same callback data parameter.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      49473672
  2. 23 8月, 2011 3 次提交
  3. 01 6月, 2011 20 次提交
  4. 31 5月, 2011 4 次提交
  5. 30 5月, 2011 10 次提交
    • Æ
      git-sh-i18n--envsubst: add SYNOPSIS section to the documentation · f5008f56
      Ævar Arnfjörð Bjarmason 提交于
      Change the documentation for the git-sh-i18n--envsubst program to
      include a SYNOPSIS section. Include the invocation of the program from
      git-sh-i18n.sh.
      
      Not having a SYNOPSIS section caused the "doc" target to fail on
      Centos 5.5 with asciidoc 8.2.5, while building with 8.6.4 on Debian
      works just fine.
      
      The relevant error was:
      
          ERROR: git-sh-i18n--envsubst.txt: line 9: second section must be named SYNOPSIS
      Signed-off-by: NÆvar Arnfjörð Bjarmason <avarab@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f5008f56
    • J
      Merge branch 'maint' · fb674d76
      Junio C Hamano 提交于
      * maint:
        git-submodule.sh: separate parens by a space to avoid confusing some shells
        Documentation/technical/api-diff.txt: correct name of diff_unmerge()
        read_gitfile_gently: use ssize_t to hold read result
        remove tests of always-false condition
        rerere.c: diagnose a corrupt MERGE_RR when hitting EOF between TAB and '\0'
      fb674d76
    • J
      Merge branch 'jm/maint-misc-fix' into maint · 5b42477b
      Junio C Hamano 提交于
      * jm/maint-misc-fix:
        read_gitfile_gently: use ssize_t to hold read result
        remove tests of always-false condition
        rerere.c: diagnose a corrupt MERGE_RR when hitting EOF between TAB and '\0'
      5b42477b
    • J
      Merge branch 'bc/maint-submodule-fix-parked' into maint · a059240f
      Junio C Hamano 提交于
      * bc/maint-submodule-fix-parked:
        git-submodule.sh: separate parens by a space to avoid confusing some shells
      a059240f
    • J
      Merge branch 'bc/maint-api-doc-parked' into maint · bcb477fb
      Junio C Hamano 提交于
      * bc/maint-api-doc-parked:
        Documentation/technical/api-diff.txt: correct name of diff_unmerge()
      bcb477fb
    • J
      Merge branch 'mk/grep-pcre' · be653d6c
      Junio C Hamano 提交于
      * mk/grep-pcre:
        git-grep: Fix problems with recently added tests
        git-grep: Update tests (mainly for -P)
        Makefile: Pass USE_LIBPCRE down in GIT-BUILD-OPTIONS
        git-grep: update tests now regexp type is "last one wins"
        git-grep: do not die upon -F/-P when grep.extendedRegexp is set.
        git-grep: Bail out when -P is used with -F or -E
        grep: Add basic tests
        configure: Check for libpcre
        git-grep: Learn PCRE
        grep: Extract compile_regexp_failed() from compile_regexp()
        grep: Fix a typo in a comment
        grep: Put calls to fixmatch() and regmatch() into patmatch()
        contrib/completion: --line-number to git grep
        Documentation: Add --line-number to git-grep synopsis
      be653d6c
    • M
      git-grep: Fix problems with recently added tests · d0042abe
      Michał Kiedrowicz 提交于
      Brian Gernhardt reported that test 'git grep -E -F -G a\\+b' fails on
      OS X 10.6.7. This is because I assumed \+ is part of BRE, which isn't
      true on all platforms.
      
      The easiest way to make this test pass is to just update expected
      output, but that would make the test pointless. Its real purpose is to
      check whether 'git grep -E -F -G' is different from 'git grep -E -G -F'.
      To check that, let's change pattern to "a+b*c". This should return
      different match for -G, -F and -E.
      
      I also made two small tweaks to the tests. First, I added path "ab" to
      all calls to future-proof tests. Second, I updated last two tests to
      better show that 'git grep -P -E' is different from 'git grep -E -P'.
      Signed-off-by: NMichał Kiedrowicz <michal.kiedrowicz@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d0042abe
    • J
      Merge branch 'jc/notes-batch-removal' · 3d109dd8
      Junio C Hamano 提交于
      * jc/notes-batch-removal:
        show: --ignore-missing
        notes remove: --stdin reads from the standard input
        notes remove: --ignore-missing
        notes remove: allow removing more than one
      3d109dd8
    • J
      Merge branch 'jk/haves-from-alternate-odb' · 01f9ffbd
      Junio C Hamano 提交于
      * jk/haves-from-alternate-odb:
        receive-pack: eliminate duplicate .have refs
        bisect: refactor sha1_array into a generic sha1 list
        refactor refs_from_alternate_cb to allow passing extra data
      01f9ffbd
    • J
      Merge branch 'jn/run-command-error-failure' into maint · 144dfc5c
      Junio C Hamano 提交于
      * jn/run-command-error-failure:
        run-command: handle short writes and EINTR in die_child
        tests: check error message from run_command
      144dfc5c
  6. 29 5月, 2011 1 次提交
  7. 28 5月, 2011 1 次提交
    • J
      rebase: write a reflog entry when finishing · 53f2ffa8
      Jeff King 提交于
      When we finish a rebase, our detached HEAD is at the final
      result. We update the original branch ref with this result,
      and then point the HEAD symbolic ref at the updated branch.
      We write a reflog for the branch update, but not for the
      update of HEAD.
      
      Because we're already at the final result on the detached
      HEAD, moving to the branch actually doesn't change our
      commit sha1 at all. So in that sense, a reflog entry would
      be pointless.
      
      However, humans do read reflogs, and an entry saying "rebase
      finished: returning to refs/heads/master" can be helpful in
      understanding what is going on.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      53f2ffa8