1. 01 6月, 2011 15 次提交
  2. 31 5月, 2011 2 次提交
    • J
      Merge branch 'jc/fmt-req-fix' · d98a2011
      Junio C Hamano 提交于
      * jc/fmt-req-fix:
        userformat_find_requirements(): find requirement for the correct format
      d98a2011
    • J
      Merge branch 'jk/maint-config-alias-fix' · 1f9a9806
      Junio C Hamano 提交于
      * jk/maint-config-alias-fix:
        handle_options(): do not miscount how many arguments were used
        config: always parse GIT_CONFIG_PARAMETERS during git_config
        git_config: don't peek at global config_parameters
        config: make environment parsing routines static
      
      Conflicts:
      	config.c
      1f9a9806
  3. 30 5月, 2011 9 次提交
    • 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
  4. 28 5月, 2011 3 次提交
    • 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
    • C
      rebase: create HEAD reflog entry when aborting · ea69619c
      Csaba Henk 提交于
      When we abort a rebase, we return to the original value of
      HEAD. Failing to write a reflog entry means we create a
      gap in the reflog (which can cause "git show
      HEAD@{5.minutes.ago}" to issue a warning). Plus having the
      extra entry makes the reflog easier to follow for a human.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ea69619c
    • J
      config.mak.in: allow "configure --sysconfdir=/else/where" · 5937b792
      Junio C Hamano 提交于
      We do allow vanilla Makefile users to say make sysconfdir=/else/where
      and config.mak can also be tweaked manually for the same effect. Give
      the same configurablity to ./configure users as well.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5937b792
  5. 27 5月, 2011 11 次提交