1. 11 5月, 2013 7 次提交
  2. 19 4月, 2013 15 次提交
    • J
      Update draft release notes to 1.8.3 · 1468a583
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1468a583
    • J
      Merge branch 'maint' · c5926ac3
      Junio C Hamano 提交于
      * maint:
        remote-hg: fix commit messages
      c5926ac3
    • J
      Merge branch 'jk/test-trash' · ded56521
      Junio C Hamano 提交于
      Fix longstanding issues with the test harness when used with --root=<there>
      option.
      
      * jk/test-trash:
        t/test-lib.sh: drop "$test" variable
        t/test-lib.sh: fix TRASH_DIRECTORY handling
      ded56521
    • J
      Merge branch 'th/t9903-symlinked-workdir' · da89885c
      Junio C Hamano 提交于
      * th/t9903-symlinked-workdir:
        t9903: Don't fail when run from path accessed through symlink
      da89885c
    • J
      Merge branch 'jk/merge-tree-added-identically' · e7e656c0
      Junio C Hamano 提交于
      The resolution of some corner cases by "git merge-tree" were
      inconsistent between top-of-the-tree and in a subdirectory.
      
      * jk/merge-tree-added-identically:
        merge-tree: don't print entries that match "local"
      e7e656c0
    • J
      Merge branch 'jk/http-dumb-namespaces' · 77354d8c
      Junio C Hamano 提交于
      Allow smart-capable HTTP servers to be restricted via the
      GIT_NAMESPACE mechanism when talking with commit-walker clients
      (they already do so when talking with smart HTTP clients).
      
      * jk/http-dumb-namespaces:
        http-backend: respect GIT_NAMESPACE with dumb clients
      77354d8c
    • J
      Merge branch 'rs/empty-archive' · 1931f6d6
      Junio C Hamano 提交于
      Implementations of "tar" of BSD descend have found to have trouble
      with reading an otherwise empty tar archive with pax headers and
      causes an unnecessary test failure.
      
      * rs/empty-archive:
        t5004: fix issue with empty archive test and bsdtar
      1931f6d6
    • J
      Merge branch 'fc/send-email-annotate' · 288aa753
      Junio C Hamano 提交于
      Allows format-patch --cover-letter to be configurable; the most
      notable is the "auto" mode to create cover-letter only for multi
      patch series.
      
      * fc/send-email-annotate:
        rebase-am: explicitly disable cover-letter
        format-patch: trivial cleanups
        format-patch: add format.coverLetter configuration variable
        log: update to OPT_BOOL
        format-patch: refactor branch name calculation
        format-patch: improve head calculation for cover-letter
        send-email: make annotate configurable
      288aa753
    • J
      Merge branch 'jc/push-2.0-default-to-simple' (early part) · 54a3c673
      Junio C Hamano 提交于
      Adjust our tests for upcoming migration of the default value for the
      "push.default" configuration variable to "simple" from "mixed".
      
      * 'jc/push-2.0-default-to-simple' (early part):
        t5570: do not assume the "matching" push is the default
        t5551: do not assume the "matching" push is the default
        t5550: do not assume the "matching" push is the default
        t9401: do not assume the "matching" push is the default
        t9400: do not assume the "matching" push is the default
        t7406: do not assume the "matching" push is the default
        t5531: do not assume the "matching" push is the default
        t5519: do not assume the "matching" push is the default
        t5517: do not assume the "matching" push is the default
        t5516: do not assume the "matching" push is the default
        t5505: do not assume the "matching" push is the default
        t5404: do not assume the "matching" push is the default
      54a3c673
    • J
      Merge branch 'jk/daemon-user-doc' · 8dd28584
      Junio C Hamano 提交于
      Document where the configuration is read by the git-daemon when its --user
      option is used.
      
      * jk/daemon-user-doc:
        doc: clarify that "git daemon --user=<user>" option does not export HOME=~user
      8dd28584
    • J
      Merge branch 'fc/completion' · 5734fa46
      Junio C Hamano 提交于
      In addition to a user visible change to offer more options to cherry-pick,
      generally cleans up and simplifies the code.
      
      * fc/completion:
        completion: small optimization
        completion: inline __gitcomp_1 to its sole callsite
        completion: get rid of compgen
        completion: add __gitcomp_nl tests
        completion: add new __gitcompadd helper
        completion: get rid of empty COMPREPLY assignments
        completion: trivial test improvement
        completion: add more cherry-pick options
      5734fa46
    • J
      Merge branch 'kb/co-orphan-suggestion-short-sha1' · bd1184c6
      Junio C Hamano 提交于
      Update the informational message when "git checkout" leaves the
      detached head state.
      
      * kb/co-orphan-suggestion-short-sha1:
        checkout: abbreviate hash in suggest_reattach
      bd1184c6
    • J
      Merge branch 'jc/detached-head-doc' · cd797c7e
      Junio C Hamano 提交于
      * jc/detached-head-doc:
        glossary: extend "detached HEAD" description
      cd797c7e
    • J
      Merge branch 'tr/packed-object-info-wo-recursion' · 193e28f0
      Junio C Hamano 提交于
      Attempts to reduce the stack footprint of sha1_object_info()
      and unpack_entry() codepaths.
      
      * tr/packed-object-info-wo-recursion:
        sha1_file: remove recursion in unpack_entry
        Refactor parts of in_delta_base_cache/cache_or_unpack_entry
        sha1_file: remove recursion in packed_object_info
      193e28f0
    • J
      Merge branch 'jk/http-error-messages' · 80292f21
      Junio C Hamano 提交于
      A regression fix for the recently graduated topic.
      
      * jk/http-error-messages:
        http: set curl FAILONERROR each time we select a handle
      80292f21
  3. 18 4月, 2013 1 次提交
  4. 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
  5. 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
  6. 15 4月, 2013 4 次提交