1. 09 10月, 2012 8 次提交
    • J
      Merge branch 'jc/merge-bases-paint-fix' · 683a820d
      Junio C Hamano 提交于
      "git fmt-merge-msg" (an internal helper reduce_heads() it uses) had
      a severe performance regression; an empty "git pull" took forever to
      finish as the result.
      
      * jc/merge-bases-paint-fix:
        paint_down_to_common(): parse commit before relying on its timestamp
      683a820d
    • J
      Sync with 1.7.12.3 · 5a333ade
      Junio C Hamano 提交于
      5a333ade
    • J
      Git 1.7.12.3 · 234cd456
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      234cd456
    • J
      Merge branch 'os/commit-submodule-ignore' into maint · ff5702c5
      Junio C Hamano 提交于
      "git status" honored the ignore=dirty settings in .gitmodules but
      "git commit" didn't.
      
      * os/commit-submodule-ignore:
        commit: pay attention to submodule.$name.ignore in .gitmodules
      ff5702c5
    • J
      Merge branch 'jk/receive-pack-unpack-error-to-pusher' into maint · 25c08907
      Junio C Hamano 提交于
      "git receive-pack" (the counterpart to "git push") did not give
      progress output while processing objects it received to the puser
      when run over the smart-http protocol.
      
      * jk/receive-pack-unpack-error-to-pusher:
        receive-pack: drop "n/a" on unpacker errors
        receive-pack: send pack-processing stderr over sideband
        receive-pack: redirect unpack-objects stdout to /dev/null
      25c08907
    • J
      Merge branch 'rt/maint-clone-single' into maint · 9b4030cd
      Junio C Hamano 提交于
      A repository created with "git clone --single" had its fetch
      refspecs set up just like a clone without "--single", leading the
      subsequent "git fetch" to slurp all the other branches, defeating
      the whole point of specifying "only this branch".
      
      * rt/maint-clone-single:
        clone --single: limit the fetch refspec to fetched branch
      9b4030cd
    • J
      Merge branch 'jc/blame-follows-renames' into maint · 63c0c2c8
      Junio C Hamano 提交于
      It was unclear in the documentation for "git blame" that it is
      unnecessary for users to use the "--follow" option.
      
      * jc/blame-follows-renames:
        git blame: document that it always follows origin across whole-file renames
      63c0c2c8
    • J
      Merge branch 'lt/mailinfo-handle-attachment-more-sanely' into maint · 6e203571
      Junio C Hamano 提交于
      A patch attached as application/octet-stream (e.g. not text/*) were
      mishandled, not correctly honoring Content-Transfer-Encoding
      (e.g. base64).
      
      * lt/mailinfo-handle-attachment-more-sanely:
        mailinfo: don't require "text" mime type for attachments
      6e203571
  2. 06 10月, 2012 7 次提交
  3. 05 10月, 2012 1 次提交
    • J
      paint_down_to_common(): parse commit before relying on its timestamp · d866924a
      Junio C Hamano 提交于
      When refactoring the merge-base computation to reduce the pairwise
      O(n*(n-1)) traversals to parallel O(n) traversals, the code forgot
      that timestamp based heuristics needs each commit to have been
      parsed.  This caused an empty "git pull" to spend cycles, traversing
      the history all the way down to 0 (because an unparsed commit object
      has 0 timestamp, and any other commit object with positive timestamp
      will be processed for its parents, all getting parsed), only to come
      up with a merge message to be used.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d866924a
  4. 03 10月, 2012 12 次提交
  5. 02 10月, 2012 8 次提交
    • J
      Git 1.8.0-rc0 · b0ec16b4
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b0ec16b4
    • J
      Merge branch 'jk/completion-tests' · abc05cbc
      Junio C Hamano 提交于
      * jk/completion-tests:
        t9902: add completion tests for "odd" filenames
        t9902: add a few basic completion tests
      abc05cbc
    • J
      Merge branch 'ep/malloc-check-perturb' · 70dac5f4
      Junio C Hamano 提交于
      Fixes a brown-paper bag bug.
      
      * ep/malloc-check-perturb:
        MALLOC_CHECK: enable it, unless disabled explicitly
      70dac5f4
    • J
      Merge branch 'da/mergetool-custom' · 5ec11ab3
      Junio C Hamano 提交于
      The actual external command to run for mergetool backend can be
      specified with difftool/mergetool.$name.cmd configuration
      variables, but this mechanism was ignored for the backends we
      natively support.
      
      * da/mergetool-custom:
        mergetool--lib: Allow custom commands to override built-ins
      5ec11ab3
    • J
      Merge branch 'os/commit-submodule-ignore' · 69759917
      Junio C Hamano 提交于
      "git status" honored the ignore=dirty settings in .gitmodules but
      "git commit" didn't.
      
      * os/commit-submodule-ignore:
        commit: pay attention to submodule.$name.ignore in .gitmodules
      69759917
    • J
      Merge branch 'jc/blame-follows-renames' · 4dbf436b
      Junio C Hamano 提交于
      Clarify the "blame" documentation to tell the users that there is
      no need to ask for "--follow".
      
      * jc/blame-follows-renames:
        git blame: document that it always follows origin across whole-file renames
      4dbf436b
    • J
      Merge branch 'jk/receive-pack-unpack-error-to-pusher' · 03b98d2e
      Junio C Hamano 提交于
      Send errors from "unpack-objects" and "index-pack" back to the "git
      push" over the git and smart-http protocols, just like it is done
      for a push over the ssh protocol.
      
      * jk/receive-pack-unpack-error-to-pusher:
        receive-pack: drop "n/a" on unpacker errors
        receive-pack: send pack-processing stderr over sideband
        receive-pack: redirect unpack-objects stdout to /dev/null
      03b98d2e
    • J
      Merge branch 'rt/maint-clone-single' · 92f6e98c
      Junio C Hamano 提交于
      Running "git fetch" in a repository made with "git clone --single"
      slurps all the branches, defeating the point of "--single".
      
      * rt/maint-clone-single:
        clone --single: limit the fetch refspec to fetched branch
      92f6e98c
  6. 01 10月, 2012 1 次提交
    • L
      mailinfo: don't require "text" mime type for attachments · 9d55b2e1
      Linus Torvalds 提交于
      Currently "git am" does insane things if the mbox it is given contains
      attachments with a MIME type that aren't "text/*".
      
      In particular, it will still decode them, and pass them "one line at a
      time" to the mail body filter, but because it has determined that they
      aren't text (without actually looking at the contents, just at the mime
      type) the "line" will be the encoding line (eg 'base64') rather than a
      line of *content*.
      
      Which then will cause the text filtering to fail, because we won't
      correctly notice when the attachment text switches from the commit message
      to the actual patch. Resulting in a patch failure, even if patch may be a
      perfectly well-formed attachment, it's just that the message type may be
      (for example) "application/octet-stream" instead of "text/plain".
      
      Just remove all the bogus games with the message_type. The only difference
      that code creates is how the data is passed to the filter function
      (chunked per-pred-code line or per post-decode line), and that difference
      is *wrong*, since chunking things per pre-decode line can never be a
      sensible operation, and cannot possibly matter for binary data anyway.
      
      This code goes all the way back to March of 2007, in commit 87ab7992
      ("builtin-mailinfo.c infrastrcture changes"), and apparently Don used to
      pass random mbox contents to git. However, the pre-decode vs post-decode
      logic really shouldn't matter even for that case, and more importantly, "I
      fed git am crap" is not a valid reason to break *real* patch attachments.
      
      If somebody really cares, and determines that some attachment is binary
      data (by looking at the data, not the MIME-type), the whole attachment
      should be dismissed, rather than fed in random-sized chunks to
      "handle_filter()".
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Don Zickus <dzickus@redhat.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9d55b2e1
  7. 30 9月, 2012 3 次提交