1. 23 7月, 2014 5 次提交
  2. 22 7月, 2014 2 次提交
  3. 17 7月, 2014 9 次提交
    • J
      Git 2.0.2 · ebc5da32
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ebc5da32
    • J
      Merge branch 'jc/fix-clone-single-starting-at-a-tag' into maint · 2e931843
      Junio C Hamano 提交于
      "git clone -b brefs/tags/bar" would have mistakenly thought we were
      following a single tag, even though it was a name of the branch,
      because it incorrectly used strstr().
      
      * jc/fix-clone-single-starting-at-a-tag:
        builtin/clone.c: detect a clone starting at a tag correctly
      2e931843
    • J
      Merge branch 'jk/pretty-G-format-fixes' into maint · 588de86f
      Junio C Hamano 提交于
      "%G" (nothing after G) is an invalid pretty format specifier, but
      the parser did not notice it as garbage.
      
      * jk/pretty-G-format-fixes:
        move "%G" format test from t7510 to t6006
        pretty: avoid reading past end-of-string with "%G"
        t7510: check %G* pretty-format output
        t7510: test a commit signed by an unknown key
        t7510: use consistent &&-chains in loop
        t7510: stop referring to master in later tests
      588de86f
    • J
      Merge branch 'rs/fix-alt-odb-path-comparison' into maint · 5a3db945
      Junio C Hamano 提交于
      Code to avoid adding the same alternate object store twice was
      subtly broken for a long time, but nobody seems to have noticed.
      
      * rs/fix-alt-odb-path-comparison:
        sha1_file: avoid overrunning alternate object base string
      5a3db945
    • J
      Merge branch 'jk/commit-buffer-length' into maint · 5c18fde0
      Junio C Hamano 提交于
      A handful of code paths had to read the commit object more than
      once when showing header fields that are usually not parsed.  The
      internal data structure to keep track of the contents of the commit
      object has been updated to reduce the need for this double-reading,
      and to allow the caller find the length of the object.
      
      * jk/commit-buffer-length:
        reuse cached commit buffer when parsing signatures
        commit: record buffer length in cache
        commit: convert commit->buffer to a slab
        commit-slab: provide a static initializer
        use get_commit_buffer everywhere
        convert logmsg_reencode to get_commit_buffer
        use get_commit_buffer to avoid duplicate code
        use get_cached_commit_buffer where appropriate
        provide helpers to access the commit buffer
        provide a helper to set the commit buffer
        provide a helper to free commit buffer
        sequencer: use logmsg_reencode in get_message
        logmsg_reencode: return const buffer
        do not create "struct commit" with xcalloc
        commit: push commit_index update into alloc_commit_node
        alloc: include any-object allocations in alloc_report
        replace dangerous uses of strbuf_attach
        commit_tree: take a pointer/len pair rather than a const strbuf
      5c18fde0
    • J
      Merge branch 'bc/fix-rebase-merge-skip' into maint · 64630d80
      Junio C Hamano 提交于
      During "git rebase --merge", a conflicted patch could not be
      skipped with "--skip" if the next one also conflicted.
      
      * bc/fix-rebase-merge-skip:
        rebase--merge: fix --skip with two conflicts in a row
      64630d80
    • J
      Merge branch 'maint-1.9' into maint · 9092a969
      Junio C Hamano 提交于
      * maint-1.9:
        annotate: use argv_array
      9092a969
    • J
      Merge branch 'maint-1.8.5' into maint-1.9 · d22acacf
      Junio C Hamano 提交于
      * maint-1.8.5:
        annotate: use argv_array
        t7300: repair filesystem permissions with test_when_finished
        enums: remove trailing ',' after last item in enum
      d22acacf
    • R
      annotate: use argv_array · 8c2cfa55
      René Scharfe 提交于
      Simplify the code and get rid of some magic constants by using
      argv_array to build the argument list for cmd_blame.  Be lazy and let
      the OS release our allocated memory, as before.
      Signed-off-by: NRene Scharfe <l.s.r@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8c2cfa55
  4. 11 7月, 2014 4 次提交
  5. 03 7月, 2014 3 次提交
  6. 02 7月, 2014 1 次提交
  7. 26 6月, 2014 16 次提交
    • J
      move "%G" format test from t7510 to t6006 · 958b2eb2
      Jeff King 提交于
      The final test in t7510 checks that "--format" placeholders
      that look similar to GPG placeholders (but that we don't
      actually understand) are passed through. That test was
      placed in t7510, since the other GPG placeholder tests are
      there. However, it does not have a GPG prerequisite, because
      it is not actually checking any signed commits.
      
      This causes the test to erroneously fail when gpg is not
      installed on a system, however. Not because we need signed
      commits, but because we need _any_ commit to run "git log".
      If we don't have gpg installed, t7510 doesn't create any
      commits at all.
      
      We can fix this by moving the test into t6006. This is
      arguably a better place anyway, because it is where we test
      most of the other placeholders (we do not test GPG
      placeholders there because of the infrastructure needed to
      make signed commits).
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      958b2eb2
    • J
      Git 2.0.1 · 341e7e8e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      341e7e8e
    • J
      Merge branch 'na/no-http-test-in-the-middle' into maint · 62bfd831
      Junio C Hamano 提交于
      The mode to run tests with HTTP server tests disabled was broken.
      
      * na/no-http-test-in-the-middle:
        t5538: move http push tests out to t5542
      62bfd831
    • J
      Merge branch 'jl/status-added-submodule-is-never-ignored' into maint · 287a8701
      Junio C Hamano 提交于
      "git status" (and "git commit") behaved as if changes in a modified
      submodule are not there if submodule.*.ignore configuration is set,
      which was misleading.  The configuration is only to unclutter diff
      output during the course of development, and should not to hide
      changes in the "status" output to cause the users forget to commit
      them.
      
      * jl/status-added-submodule-is-never-ignored:
        commit -m: commit staged submodules regardless of ignore config
        status/commit: show staged submodules regardless of ignore config
      287a8701
    • J
      Merge branch 'ym/fix-opportunistic-index-update-race' into maint · 1881d2b8
      Junio C Hamano 提交于
      "git status", even though it is a read-only operation, tries to
      update the index with refreshed lstat(2) info to optimize future
      accesses to the working tree opportunistically, but this could
      race with a "read-write" operation that modify the index while it
      is running.  Detect such a race and avoid overwriting the index.
      
      * ym/fix-opportunistic-index-update-race:
        read-cache.c: verify index file before we opportunistically update it
        wrapper.c: add xpread() similar to xread()
      1881d2b8
    • J
      Merge branch 'mk/show-s-no-extra-blank-line-for-merges' into maint · 85785df6
      Junio C Hamano 提交于
      "git show -s" (i.e. show log message only) used to incorrectly emit
      an extra blank line after a merge commit.
      
      * mk/show-s-no-extra-blank-line-for-merges:
        git-show: fix 'git show -s' to not add extra terminator after merge commit
      85785df6
    • J
      Merge branch 'rr/rebase-autostash-fix' into maint · d9036cd2
      Junio C Hamano 提交于
      The autostash mode of "git rebase -i" did not restore the dirty
      working tree state if the user aborted the interactive rebase by
      emptying the insn sheet.
      
      * rr/rebase-autostash-fix:
        rebase -i: test "Nothing to do" case with autostash
        rebase -i: handle "Nothing to do" case with autostash
      d9036cd2
    • J
      Merge branch 'jc/shortlog-ref-exclude' into maint · 86757794
      Junio C Hamano 提交于
      "git log --exclude=<glob> --all | git shortlog" worked as expected,
      but "git shortlog --exclude=<glob> --all", which is supposed to be
      identical to the above pipeline, was not accepted at the command
      line argument parser level.
      
      * jc/shortlog-ref-exclude:
        shortlog: allow --exclude=<glob> to be passed
      86757794
    • J
      Merge branch 'jl/remote-rm-prune' into maint · c4f79d13
      Junio C Hamano 提交于
      "git remote rm" and "git remote prune" can involve removing many
      refs at once, which is not a very efficient thing to do when very
      many refs exist in the packed-refs file.
      
      * jl/remote-rm-prune:
        remote prune: optimize "dangling symref" check/warning
        remote: repack packed-refs once when deleting multiple refs
        remote rm: delete remote configuration as the last
      c4f79d13
    • J
      Merge branch 'fc/rerere-conflict-style' into maint · ada8710e
      Junio C Hamano 提交于
      "git rerere forget" did not work well when merge.conflictstyle
      was set to a non-default value.
      
      * fc/rerere-conflict-style:
        rerere: fix for merge.conflictstyle
      ada8710e
    • J
      Merge branch 'rs/pack-objects-no-unnecessary-realloc' into maint · 5327207e
      Junio C Hamano 提交于
      "git pack-objects" unnecessarily copied the previous contents when
      extending the hashtable, even though it will populate the table
      from scratch anyway.
      
      * rs/pack-objects-no-unnecessary-realloc:
        pack-objects: use free()+xcalloc() instead of xrealloc()+memset()
      5327207e
    • J
      Merge branch 'dt/merge-recursive-case-insensitive' into maint · 5fa38cc3
      Junio C Hamano 提交于
      On a case insensitive filesystem, merge-recursive incorrectly
      deleted the file that is to be renamed to a name that is the same
      except for case differences.
      
      * dt/merge-recursive-case-insensitive:
        mv: allow renaming to fix case on case insensitive filesystems
        merge-recursive.c: fix case-changing merge bug
      5fa38cc3
    • J
      Merge branch 'rs/mailinfo-header-cmp' into maint · ed5d0d21
      Junio C Hamano 提交于
      "git mailinfo" used to read beyond the end of header string while
      parsing an incoming e-mail message to extract the patch.
      
      * rs/mailinfo-header-cmp:
        mailinfo: use strcmp() for string comparison
      ed5d0d21
    • J
      Merge branch 'jk/index-pack-report-missing' into maint · 182c3d69
      Junio C Hamano 提交于
      The error reporting from "git index-pack" has been improved to
      distinguish missing objects from type errors.
      
      * jk/index-pack-report-missing:
        index-pack: distinguish missing objects from type errors
      182c3d69
    • J
      Merge branch 'nd/index-pack-one-fd-per-thread' into maint · a9041df7
      Junio C Hamano 提交于
      We used to disable threaded "git index-pack" on platforms without
      thread-safe pread(); use a different workaround for such
      platforms to allow threaded "git index-pack".
      
      * nd/index-pack-one-fd-per-thread:
        index-pack: work around thread-unsafe pread()
      a9041df7
    • J
      Merge branch 'sk/spawn-less-case-insensitively-from-grep-O-i' into maint · 75b1b04c
      Junio C Hamano 提交于
      "git grep -O" to show the lines that hit in the pager did not work
      well with case insensitive search.  We now spawn "less" with its
      "-I" option when it is used as the pager (which is the default).
      
      * sk/spawn-less-case-insensitively-from-grep-O-i:
        git grep -O -i: if the pager is 'less', pass the '-I' option
      75b1b04c