1. 11 9月, 2012 6 次提交
    • J
      Merge branch 'jc/maint-protect-sh-from-ifs' into maint-1.7.11 · 7cc51cfe
      Junio C Hamano 提交于
      When the user exports a non-default IFS without HT, scripts that
      rely on being able to parse "ls-files -s | while read a b c..."
      start to fail.  Protect them from such a misconfiguration.
      
      * jc/maint-protect-sh-from-ifs:
        sh-setup: protect from exported IFS
      7cc51cfe
    • J
      Merge branch 'bc/receive-pack-stdout-protection' into maint-1.7.11 · 3f664638
      Junio C Hamano 提交于
      When "git push" triggered the automatic gc on the receiving end, a
      message from "git prune" that said it was removing cruft leaked to
      the standard output, breaking the communication protocol.
      
      * bc/receive-pack-stdout-protection:
        receive-pack: do not leak output from auto-gc to standard output
        t/t5400: demonstrate breakage caused by informational message from prune
      3f664638
    • J
      Merge branch 'jk/maint-null-in-trees' into maint-1.7.11 · 03adeeaa
      Junio C Hamano 提交于
      "git diff" had a confusion between taking data from a path in the
      working tree and taking data from an object that happens to have
      name 0{40} recorded in a tree.
      
      * jk/maint-null-in-trees:
        fsck: detect null sha1 in tree entries
        do not write null sha1s to on-disk index
        diff: do not use null sha1 as a sentinel value
      03adeeaa
    • J
      Merge branch 'tr/maint-send-email-2047' into maint-1.7.11 · 423a9e28
      Junio C Hamano 提交于
      "git send-email" did not unquote encoded words that appear on the
      header correctly, and lost "_" from strings.
      
      * tr/maint-send-email-2047:
        send-email: improve RFC2047 quote parsing
      423a9e28
    • J
      Merge branch 'mm/die-with-dashdash-help' into maint-1.7.11 · 5f9d8e35
      Junio C Hamano 提交于
      When the user gives an argument that can be taken as both a
      revision name and a pathname without disambiguating with "--", we
      used to give a help message "Use '--' to separate".  The message
      has been clarified to show where that '--' goes on the command
      line.
      
      * mm/die-with-dashdash-help:
        setup: clarify error messages for file/revisions ambiguity
      5f9d8e35
    • J
      Merge branch 'js/gitweb-path-info-unquote' into maint-1.7.11 · 3d4003bd
      Junio C Hamano 提交于
      "gitweb" when used with PATH_INFO failed to notice directories with
      SP (and other characters that need URL-style quoting) in them.
      
      * js/gitweb-path-info-unquote:
        gitweb: URL-decode $my_url/$my_uri when stripping PATH_INFO
      3d4003bd
  2. 25 8月, 2012 10 次提交
  3. 24 8月, 2012 2 次提交
  4. 23 8月, 2012 1 次提交
  5. 17 8月, 2012 2 次提交
  6. 16 8月, 2012 6 次提交
  7. 09 8月, 2012 1 次提交
    • J
      sh-setup: protect from exported IFS · 785063e0
      Junio C Hamano 提交于
      Many scripted Porcelains rely on being able to split words at the
      default $IFS characters, i.e. SP, HT and LF.  If the user exports a
      non-default IFS to the environment, what they read from plumbing
      commands such as ls-files that use HT to delimit fields may not be
      split in the way we expect.
      
      Protect outselves by resetting it, just like we do so against CDPATH
      exported to the environment.
      
      Noticed by Andrew Dranse <adranse@oanda.com>.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      785063e0
  8. 07 8月, 2012 12 次提交