1. 19 4月, 2013 22 次提交
  2. 18 4月, 2013 1 次提交
  3. 17 4月, 2013 4 次提交
    • J
      Merge branch 'maint' · dcd8c09e
      Junio C Hamano 提交于
      * maint:
        help.c: add a compatibility comment to cmd_version()
      dcd8c09e
    • D
      help.c: add a compatibility comment to cmd_version() · f2de0b97
      David Aguilar 提交于
      External projects have been known to parse the output of
      "git version".  Help prevent future authors from changing
      its format by adding a comment to its implementation.
      Signed-off-by: NDavid Aguilar <davvid@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f2de0b97
    • J
      convert: The native line-ending is \r\n on MinGW · 95f31e9a
      Jonathan Nieder 提交于
      If you try this:
      
       1. Install Git for Windows (from the msysgit project)
      
       2. Put
      
      	[core]
      		autocrlf = false
      		eol = native
      
          in your .gitconfig.
      
       3. Clone a project with
      
      	*.txt text
      
          in its .gitattributes.
      
      Then with current git, any text files checked out have LF line
      endings, instead of the expected CRLF.
      
      Cc: Johannes Schindelin <johannes.schindelin@gmx.de>
      Cc: Johannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      95f31e9a
    • J
      http: set curl FAILONERROR each time we select a handle · b793acf1
      Jeff King 提交于
      Because we reuse curl handles for multiple requests, the
      setup of a handle happens in two stages: stable, global
      setup and per-request setup. The lifecycle of a handle is
      something like:
      
        1. get_curl_handle; do basic global setup that will last
           through the whole program (e.g., setting the user
           agent, ssl options, etc)
      
        2. get_active_slot; set up a per-request baseline (e.g.,
           clearing the read/write functions, making it a GET
           request, etc)
      
        3. perform the request with curl_*_perform functions
      
        4. goto step 2 to perform another request
      
      Breaking it down this way means we can avoid doing global
      setup from step (1) repeatedly, but we still finish step (2)
      with a predictable baseline setup that callers can rely on.
      
      Until commit 6d052d78 (http: add HTTP_KEEP_ERROR option,
      2013-04-05), setting curl's FAILONERROR option was a global
      setup; we never changed it. However, 6d052d78 introduced an
      option where some requests might turn off FAILONERROR. Later
      requests using the same handle would have the option
      unexpectedly turned off, which meant they would not notice
      http failures at all.
      
      This could easily be seen in the test-suite for the
      "half-auth" cases of t5541 and t5551. The initial requests
      turned off FAILONERROR, which meant it was erroneously off
      for the rpc POST. That worked fine for a successful request,
      but meant that we failed to react properly to the HTTP 401
      (instead, we treated whatever the server handed us as a
      successful message body).
      
      The solution is simple: now that FAILONERROR is a
      per-request setting, we move it to get_active_slot to make
      sure it is reset for each request.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b793acf1
  4. 16 4月, 2013 9 次提交
    • F
      remote-bzr: fix prefix of tags · afad2005
      Felipe Contreras 提交于
      In the current transport-helper code, refs without namespaced refspecs don't
      work correctly, so let's always use them.
      
      Some people reported issues with 'git clone --mirror', and this fixes them, as
      well as possibly others.
      Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      afad2005
    • J
      Update draft release notes to 1.8.3 · aec3f779
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      aec3f779
    • J
      Merge branch 'jk/diff-graph-submodule-summary' · f678d9b5
      Junio C Hamano 提交于
      Make "git diff --graph" work better with submodule log output.
      
      * jk/diff-graph-submodule-summary:
        submodule: print graph output next to submodule log
      f678d9b5
    • J
      Merge branch 'jk/diff-algo-finishing-touches' · 825ccfc2
      Junio C Hamano 提交于
      "git diff --diff-algorithm algo" is also understood as "git diff
      --diff-algorithm=algo".
      
      * jk/diff-algo-finishing-touches:
        diff: allow unstuck arguments with --diff-algorithm
        git-merge(1): document diff-algorithm option to merge-recursive
      825ccfc2
    • J
      Merge branch 'rt/commentchar-fmt-merge-msg' · 948cf4f5
      Junio C Hamano 提交于
      The new core.commentchar configuration was not applied to a few
      places.
      
      * rt/commentchar-fmt-merge-msg:
        fmt-merge-msg: use core.commentchar in tag signatures completely
        fmt-merge-msg: respect core.commentchar in people credits
      948cf4f5
    • J
      Merge branch 'lf/bundle-with-tip-wo-message' · e1a3f17e
      Junio C Hamano 提交于
      "git bundle" did not like a bundle created using a commit without
      any message as its one of the prerequistes.
      
      * lf/bundle-with-tip-wo-message:
        bundle: Accept prerequisites without commit messages
      e1a3f17e
    • J
      Merge branch 'jk/show-branch-strbuf' · 51ff04ba
      Junio C Hamano 提交于
      "git show-branch" was not prepared to show a very long run of
      ancestor operators e.g. foobar^2~2^2^2^2...^2~4 correctly.
      
      * jk/show-branch-strbuf:
        show-branch: use strbuf instead of static buffer
      51ff04ba
    • J
      Merge branch 'jk/http-error-messages' · f4f6a753
      Junio C Hamano 提交于
      Improve error reporting from the http transfer clients.
      
      * jk/http-error-messages:
        http: drop http_error function
        remote-curl: die directly with http error messages
        http: re-word http error message
        http: simplify http_error helper function
        remote-curl: consistently report repo url for http errors
        remote-curl: always show friendlier 404 message
        remote-curl: let servers override http 404 advice
        remote-curl: show server content on http errors
        http: add HTTP_KEEP_ERROR option
      f4f6a753
    • J
      Merge branch 'tr/perl-keep-stderr-open' · d809d050
      Junio C Hamano 提交于
      Closing (not redirecting to /dev/null) the standard error stream is
      not a very smart thing to do.  Later open may return file
      descriptor #2 for unrelated purpose, and error reporting code may
      write into them.
      
      * tr/perl-keep-stderr-open:
        t9700: do not close STDERR
        perl: redirect stderr to /dev/null instead of closing
      d809d050
  5. 15 4月, 2013 4 次提交