1. 21 9月, 2013 16 次提交
    • J
    • J
      Merge branch 'jk/upload-pack-keepalive' · 7b8315bb
      Junio C Hamano 提交于
      When running "fetch -q", a long silence while the sender side
      computes the set of objects to send can be mistaken by proxies as
      dropped connection.  The server side has been taught to send a small
      empty messages to keep the connection alive.
      
      * jk/upload-pack-keepalive:
        upload-pack: bump keepalive default to 5 seconds
        upload-pack: send keepalive packets during pack computation
      7b8315bb
    • J
      Merge branch 'fc/at-head' · f406140b
      Junio C Hamano 提交于
      Instead of typing four capital letters "HEAD", you can say "@" now,
      e.g. "git log @".
      
      * fc/at-head:
        Add new @ shortcut for HEAD
        sha1-name: pass len argument to interpret_branch_name()
      f406140b
    • J
      Merge branch 'dw/check-ignore-sans-index' · 005a1de3
      Junio C Hamano 提交于
      "git check-ignore" follows the same rule as "git add" and "git
      status" in that the ignore/exclude mechanism does not take effect
      on paths that are already tracked.  With "--no-index" option, it
      can be used to diagnose which paths that should have been ignored
      have been mistakenly added to the index.
      
      * dw/check-ignore-sans-index:
        check-ignore: Add option to ignore index contents
      005a1de3
    • J
      Merge branch 'mm/commit-template-squelch-advice-messages' · b4980c63
      Junio C Hamano 提交于
      From the commit log template, remove irrelevant "advice" messages
      that are shared with "git status" output.
      
      * mm/commit-template-squelch-advice-messages:
        commit: disable status hints when writing to COMMIT_EDITMSG
        wt-status: turn advice_status_hints into a field of wt_status
        commit: factor status configuration is a helper function
      b4980c63
    • J
      Merge branch 'bk/refs-multi-update' · 9a86b899
      Junio C Hamano 提交于
      Give "update-refs" a "--stdin" option to read multiple update
      requests and perform them in an all-or-none fashion.
      
      * bk/refs-multi-update:
        update-ref: add test cases covering --stdin signature
        update-ref: support multiple simultaneous updates
        refs: add update_refs for multiple simultaneous updates
        refs: add function to repack without multiple refs
        refs: factor delete_ref loose ref step into a helper
        refs: factor update_ref steps into helpers
        refs: report ref type from lock_any_ref_for_update
        reset: rename update_refs to reset_refs
      9a86b899
    • J
      Merge branch 'nr/git-cd-to-a-directory' · 08735039
      Junio C Hamano 提交于
      Just like "make -C <directory>", make "git -C <directory> ..." to
      go there before doing anything else.
      
      * nr/git-cd-to-a-directory:
        t0056: "git -C" test updates
        git: run in a directory given with -C option
      08735039
    • J
      Merge branch 'mm/rebase-continue-freebsd-WB' · f26f250b
      Junio C Hamano 提交于
      Work around a bug in FreeBSD shell that caused a regression to "git
      rebase" in v1.8.4.  May need to be later applied to 'maint'.
      
      * mm/rebase-continue-freebsd-WB:
        rebase: fix run_specific_rebase's use of "return" on FreeBSD
      f26f250b
    • J
      Merge branch 'jh/checkout-auto-tracking' · b05fc49a
      Junio C Hamano 提交于
      Fix a minor regression in v1.8.3.2 and later that made it
      impossible to base your local work on anything but a local branch
      of the upstream repository you are tracking from.
      
      * jh/checkout-auto-tracking:
        t3200: fix failure on case-insensitive filesystems
        branch.c: Relax unnecessary requirement on upstream's remote ref name
        t3200: Add test demonstrating minor regression in 41c21f22
        Refer to branch.<name>.remote/merge when documenting --track
        t3200: Minor fix when preparing for tracking failure
        t2024: Fix &&-chaining and a couple of typos
      b05fc49a
    • J
      Merge branch 'bc/http-backend-allow-405' · 26e53f8a
      Junio C Hamano 提交于
      When the webserver responds with "405 Method Not Allowed", it
      should tell the client what methods are allowed with the "Allow"
      header.
      
      * bc/http-backend-allow-405:
        http-backend: provide Allow header for 405
      26e53f8a
    • J
      Merge branch 'np/lookup-object-hashing' · 3fb9d685
      Junio C Hamano 提交于
      Micro optimize hash function used in the object hash table.
      
      * np/lookup-object-hashing:
        lookup_object: remove hashtable_index() and optimize hash_obj()
      3fb9d685
    • J
      Merge branch 'hu/cherry-pick-previous-branch' · 08092082
      Junio C Hamano 提交于
      Just like "git checkout -" knows to check out and "git merge -"
      knows to merge the branch you were previously on, "git cherry-pick"
      now understands "git cherry-pick -" to pick from the previous
      branch.
      
      * hu/cherry-pick-previous-branch:
        cherry-pick: allow "-" as abbreviation of '@{-1}'
      08092082
    • J
      Merge branch 'mm/status-without-comment-char' · 6d3e1f2e
      Junio C Hamano 提交于
      "git status" now omits the prefix to make its output a comment in a
      commit log editor, which is not necessary for human consumption.
      
      We may want to tighten the output to omit unnecessary trailing blank
      lines, but that does not have to be in the scope of this series.
      
      * mm/status-without-comment-char:
        t7508: avoid non-portable sed expression
        status: add missing blank line after list of "other" files
        tests: don't set status.displayCommentPrefix file-wide
        status: disable display of '#' comment prefix by default
        submodule summary: ignore --for-status option
        wt-status: use argv_array API
        builtin/stripspace.c: fix broken indentation
      6d3e1f2e
    • J
      Merge branch 'rh/peeling-tag-to-tag' · 638924fe
      Junio C Hamano 提交于
      Make "foo^{tag}" to peel a tag to itself, i.e. no-op., and fail if
      "foo" is not a tag.  "git rev-parse --verify v1.0^{tag}" would be a
      more convenient way to say "test $(git cat-file -t v1.0) = tag".
      
      * rh/peeling-tag-to-tag:
        peel_onion: do not assume length of x_type globals
        peel_onion(): add support for <rev>^{tag}
      638924fe
    • J
      Merge branch 'jx/branch-vv-always-compare-with-upstream' · 2e6e3e82
      Junio C Hamano 提交于
      "git branch -v -v" (and "git status") did not distinguish among a
      branch that does not build on any other branch, a branch that is in
      sync with the branch it builds on, and a branch that is configured
      to build on some other branch that no longer exists.
      
      * jx/branch-vv-always-compare-with-upstream:
        status: always show tracking branch even no change
        branch: report invalid tracking branch as gone
      2e6e3e82
    • J
      Merge branch 'nd/fetch-into-shallow' · 238504b0
      Junio C Hamano 提交于
      When there is no sufficient overlap between old and new history
      during a fetch into a shallow repository, we unnecessarily sent
      objects the sending side knows the receiving end has.
      
      * nd/fetch-into-shallow:
        Add testcase for needless objects during a shallow fetch
        list-objects: mark more commits as edges in mark_edges_uninteresting
        list-objects: reduce one argument in mark_edges_uninteresting
        upload-pack: delegate rev walking in shallow fetch to pack-objects
        shallow: add setup_temporary_shallow()
        shallow: only add shallow graft points to new shallow file
        move setup_alternate_shallow and write_shallow_commits to shallow.c
      238504b0
  2. 20 9月, 2013 3 次提交
  3. 19 9月, 2013 21 次提交
    • J
      Merge branch 'maint' · eeaee045
      Junio C Hamano 提交于
      * maint:
        Start preparing for 1.8.4.1
      eeaee045
    • J
      Start preparing for 1.8.4.1 · a0d3f109
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a0d3f109
    • J
      Merge branch 'bc/completion-for-bash-3.0' into maint · ebb9d196
      Junio C Hamano 提交于
      Some people still use rather old versions of bash, which cannot grok
      some constructs like 'printf -v varname' the prompt and completion
      code started to use recently.
      
      * bc/completion-for-bash-3.0:
        contrib/git-prompt.sh: handle missing 'printf -v' more gracefully
        t9902-completion.sh: old Bash still does not support array+=('') notation
        git-completion.bash: use correct Bash/Zsh array length syntax
      ebb9d196
    • J
      Merge branch 'mm/no-shell-escape-in-die-message' into maint · b25b9d59
      Junio C Hamano 提交于
      Fixes a minor bug in "git rebase -i" (there could be others, as the
      root cause is pretty generic) where the code feeds a random, data
      dependeant string to 'echo' and expects it to come out literally.
      
      * mm/no-shell-escape-in-die-message:
        die_with_status: use "printf '%s\n'", not "echo"
      b25b9d59
    • J
      Merge branch 'jl/some-submodule-config-are-not-boolean' into maint · dd42145b
      Junio C Hamano 提交于
      * jl/some-submodule-config-are-not-boolean:
        avoid segfault on submodule.*.path set to an empty "true"
      dd42145b
    • J
      Merge branch 'tr/log-full-diff-keep-true-parents' into maint · 6930cd10
      Junio C Hamano 提交于
      Output from "git log --full-diff -- <pathspec>" looked strange,
      because comparison was done with the previous ancestor that touched
      the specified <pathspec>, causing the patches for paths outside the
      pathspec to show more than the single commit has changed.
      
      * tr/log-full-diff-keep-true-parents:
        log: use true parents for diff when walking reflogs
        log: use true parents for diff even when rewriting
      6930cd10
    • J
      Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch' into maint · 1e93c28f
      Junio C Hamano 提交于
      The auto-tag-following code in "git fetch" tries to reuse the same
      transport twice when the serving end does not cooperate and does
      not give tags that point to commits that are asked for as part of
      the primary transfer.  Unfortunately, Git-aware transport helper
      interface is not designed to be used more than once, hence this
      does not work over smart-http transfer.
      
      * jc/transport-do-not-use-connect-twice-in-fetch:
        builtin/fetch.c: Fix a sparse warning
        fetch: work around "transport-take-over" hack
        fetch: refactor code that fetches leftover tags
        fetch: refactor code that prepares a transport
        fetch: rename file-scope global "transport" to "gtransport"
        t5802: add test for connect helper
      1e93c28f
    • J
      Merge branch 'sp/clip-read-write-to-8mb' into maint · 4b510c38
      Junio C Hamano 提交于
      Send a large request to read(2)/write(2) as a smaller but still
      reasonably large chunks, which would improve the latency when the
      operation needs to be killed and incidentally works around broken
      64-bit systems that cannot take a 2GB write or read in one go.
      
      * sp/clip-read-write-to-8mb:
        Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"
        xread, xwrite: limit size of IO to 8MB
      4b510c38
    • J
      Merge branch 'jk/mailmap-incomplete-line' into maint · 19230ab8
      Junio C Hamano 提交于
      * jk/mailmap-incomplete-line:
        mailmap: handle mailmap blobs without trailing newlines
      19230ab8
    • J
    • J
      Merge branch 'jc/url-match' · 34e8d998
      Junio C Hamano 提交于
      While normalizing a URL, we forgot that the buffer that holds it
      could be relocated when it grows, which was a brown-paper-bag bug
      that can lead to a crash introduced on 'master' post 1.8.4 release.
      
      * jc/url-match:
        urlmatch.c: recompute pointer after append_normalized_escapes
      34e8d998
    • J
      Merge branch 'jc/cvsserver-perm-bit-fix' · 2f46b539
      Junio C Hamano 提交于
      "git cvsserver" computed the permission mode bits incorrectly for
      executable files.
      
      * jc/cvsserver-perm-bit-fix:
        cvsserver: pick up the right mode bits
      2f46b539
    • J
      Merge branch 'bc/send-email-ssl-die-message-fix' · 139189b9
      Junio C Hamano 提交于
      When send-email comes up with an error message to die with upon
      failure to start an SSL session, it tried to read the error string
      from a wrong place.
      
      * bc/send-email-ssl-die-message-fix:
        send-email: don't call methods on undefined values
      139189b9
    • J
      Merge branch 'uh/git-svn-serf-fix' · 70c87a98
      Junio C Hamano 提交于
      "git-svn" used with SVN 1.8.0 when talking over https:// connection
      dumped core due to a bug in the serf library that SVN uses.  Work
      it around on our side, even though the SVN side is being fixed.
      
      * uh/git-svn-serf-fix:
        git-svn: fix termination issues for remote svn connections
      70c87a98
    • J
      Merge branch 'fc/contrib-bzr-hg-fixes' · 751e2b37
      Junio C Hamano 提交于
      * fc/contrib-bzr-hg-fixes:
        contrib/remote-helpers: quote variable references in redirection targets
        contrib/remote-helpers: style updates for test scripts
        remote-hg: use notes to keep track of Hg revisions
        remote-helpers: cleanup more global variables
        remote-helpers: trivial style fixes
        remote-hg: improve basic test
        remote-hg: add missing &&s in the test
        remote-hg: fix test
        remote-bzr: make bzr branches configurable per-repo
        remote-bzr: fix export of utf-8 authors
      751e2b37
    • J
      Merge branch 'js/add-i-mingw' · ac4d2955
      Junio C Hamano 提交于
      The implementation of "add -i" has a crippling code to work around
      ActiveState Perl limitation but it by mistake also triggered on Git
      for Windows where MSYS perl is used.
      
      * js/add-i-mingw:
        add--interactive: fix external command invocation on Windows
      ac4d2955
    • J
      Merge branch 'ks/p4-view-spec' · 34022ba2
      Junio C Hamano 提交于
      * ks/p4-view-spec:
        git p4: implement view spec wildcards with "p4 where"
        git p4 test: sanitize P4CHARSET
      34022ba2
    • J
      Merge branch 'jk/duplicate-objects-in-packs' · 6c345600
      Junio C Hamano 提交于
      A packfile that stores the same object more than once is broken and
      will be rejected by "git index-pack" that is run when receiving data
      over the wire.
      
      * jk/duplicate-objects-in-packs:
        t5308: check that index-pack --strict detects duplicate objects
        test index-pack on packs with recoverable delta cycles
        add tests for indexing packs with delta cycles
        sha1-lookup: handle duplicate keys with GIT_USE_LOOKUP
        test-sha1: add a binary output mode
      6c345600
    • J
      Merge branch 'nd/git-dir-pointing-at-gitfile' · 01e0fa2b
      Junio C Hamano 提交于
      We made sure that we notice the user-supplied GIT_DIR is actually a
      gitfile, but did not do the same when the default ".git" is a gitfile.
      
      * nd/git-dir-pointing-at-gitfile:
        Make setup_git_env() resolve .git file when $GIT_DIR is not specified
      01e0fa2b
    • J
      Merge branch 'jk/pager-bypass-cat-for-default-pager' · d5ca1ab3
      Junio C Hamano 提交于
      If a build-time fallback is set to "cat" instead of "less", we
      should apply the same "no subprocess or pipe" optimization as we
      apply to user-supplied GIT_PAGER=cat.
      
      * jk/pager-bypass-cat-for-default-pager:
        pager: turn on "cat" optimization for DEFAULT_PAGER
      d5ca1ab3
    • J
      Merge branch 'fc/t3200-fixes' · 18fe5003
      Junio C Hamano 提交于
      * fc/t3200-fixes:
        t: branch: fix broken && chains
        t: branch: fix typo
        t: branch: trivial style fix
      18fe5003