1. 25 8月, 2016 1 次提交
  2. 21 8月, 2016 1 次提交
  3. 15 8月, 2016 2 次提交
  4. 13 8月, 2016 20 次提交
    • J
      Sync with 2.9.3 · 2376d317
      Junio C Hamano 提交于
      * tag 'v2.9.3':
        Git 2.9.3
      2376d317
    • J
      Final batch before 2.10-rc0 · 2807cd7b
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2807cd7b
    • J
      Merge branch 'kw/patch-ids-optim' · dd610aed
      Junio C Hamano 提交于
      When "git rebase" tries to compare set of changes on the updated
      upstream and our own branch, it computes patch-id for all of these
      changes and attempts to find matches. This has been optimized by
      lazily computing the full patch-id (which is expensive) to be
      compared only for changes that touch the same set of paths.
      
      * kw/patch-ids-optim:
        rebase: avoid computing unnecessary patch IDs
        patch-ids: add flag to create the diff patch id using header only data
        patch-ids: replace the seen indicator with a commit pointer
        patch-ids: stop using a hand-rolled hashmap implementation
      dd610aed
    • J
      Merge branch 'ew/http-backend-batch-headers' · 3787e3c1
      Junio C Hamano 提交于
      The http-backend (the server-side component of smart-http
      transport) used to trickle the HTTP header one at a time.  Now
      these write(2)s are batched.
      
      * ew/http-backend-batch-headers:
        http-backend: buffer headers before sending
      3787e3c1
    • J
      Merge branch 'va/i18n' · 7575c123
      Junio C Hamano 提交于
      * va/i18n:
        i18n: git-stash: mark messages for translation
        i18n: archive: mark errors for translation
        i18n: setup: mark error messages for translation
      7575c123
    • J
      Merge branch 'vs/typofix' · e6b8f806
      Junio C Hamano 提交于
      * vs/typofix:
        Spelling fixes
      e6b8f806
    • J
      Merge branch 'js/mv-dir-to-new-directory' · 2c44b7a5
      Junio C Hamano 提交于
      "git mv dir non-existing-dir/" did not work in some environments
      the same way as existing mainstream platforms.  The code now moves
      "dir" to "non-existing-dir", without relying on rename("A", "B/")
      that strips the trailing slash of '/'.
      
      * js/mv-dir-to-new-directory:
        git mv: do not keep slash in `git mv dir non-existing-dir/`
      2c44b7a5
    • J
      Merge branch 'rs/use-strbuf-add-unique-abbrev' · 0a315bef
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/use-strbuf-add-unique-abbrev:
        use strbuf_add_unique_abbrev() for adding short hashes
      0a315bef
    • J
      Merge branch 'jk/big-and-future-archive-tar' · 57734b4e
      Junio C Hamano 提交于
      A small code clean-up.
      
      * jk/big-and-future-archive-tar:
        archive-tar: make write_extended_header() void
      57734b4e
    • J
      Merge branch 'jk/trace-fixup' · 6d4960ac
      Junio C Hamano 提交于
      Various small fixups to the "GIT_TRACE" facility.
      
      * jk/trace-fixup:
        trace: do not fall back to stderr
        write_or_die: drop write_or_whine_pipe()
        trace: disable key after write error
        trace: correct variable name in write() error message
        trace: cosmetic fixes for error messages
        trace: use warning() for printing trace errors
        trace: stop using write_or_whine_pipe()
        trace: handle NULL argument in trace_disable()
      6d4960ac
    • J
      Merge branch 'rs/merge-recursive-string-list-init' · 8a5ad2ba
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/merge-recursive-string-list-init:
        merge-recursive: use STRING_LIST_INIT_NODUP
      8a5ad2ba
    • J
      Merge branch 'rs/merge-add-strategies-simplification' · b32d7c52
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/merge-add-strategies-simplification:
        merge: use string_list_split() in add_strategies()
      b32d7c52
    • J
      Merge branch 'rs/child-process-init' · 18f3ce88
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/child-process-init:
        use CHILD_PROCESS_INIT to initialize automatic variables
      18f3ce88
    • J
      Merge branch 'js/import-tars-hardlinks' · bb876eb3
      Junio C Hamano 提交于
      "import-tars" fast-import script (in contrib/) used to ignore a
      hardlink target and replaced it with an empty file, which has been
      corrected to record the same blob as the other file the hardlink is
      shared with.
      
      * js/import-tars-hardlinks:
        import-tars: support hard links
      bb876eb3
    • J
      Merge branch 'ms/document-pack-window-memory-is-per-thread' · 62134efd
      Junio C Hamano 提交于
      * ms/document-pack-window-memory-is-per-thread:
        document git-repack interaction of pack.threads and pack.windowMemory
      62134efd
    • J
      Merge branch 'vs/completion-branch-fully-spelled-d-m-r' · 7d4d742c
      Junio C Hamano 提交于
      * vs/completion-branch-fully-spelled-d-m-r:
        completion: complete --delete, --move, and --remotes for git branch
      7d4d742c
    • J
      Merge branch 'sb/submodule-clone-retry' · 2f9c615e
      Junio C Hamano 提交于
      Fix-up to an error codepath in a topic already in 'master'.
      
      * sb/submodule-clone-retry:
        submodule--helper: use parallel processor correctly
      2f9c615e
    • J
      Git 2.9.3 · e0c1ceaf
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e0c1ceaf
    • J
      Merge branch 'jk/difftool-in-subdir' into maint · 9b601eaf
      Junio C Hamano 提交于
      "git difftool <paths>..." started in a subdirectory failed to
      interpret the paths relative to that directory, which has been
      fixed.
      
      * jk/difftool-in-subdir:
        difftool: use Git::* functions instead of passing around state
        difftool: avoid $GIT_DIR and $GIT_WORK_TREE
        difftool: fix argument handling in subdirs
      9b601eaf
    • J
      Merge branch 'jk/reset-ident-time-per-commit' into maint · f4fd6276
      Junio C Hamano 提交于
      Not-so-recent rewrite of "git am" that started making internal
      calls into the commit machinery had an unintended regression, in
      that no matter how many seconds it took to apply many patches, the
      resulting committer timestamp for the resulting commits were all
      the same.
      
      * jk/reset-ident-time-per-commit:
        am: reset cached ident date for each patch
      f4fd6276
  5. 12 8月, 2016 2 次提交
    • K
      rebase: avoid computing unnecessary patch IDs · b3dfeebb
      Kevin Willford 提交于
      The `rebase` family of Git commands avoid applying patches that were
      already integrated upstream. They do that by using the revision walking
      option that computes the patch IDs of the two sides of the rebase
      (local-only patches vs upstream-only ones) and skipping those local
      patches whose patch ID matches one of the upstream ones.
      
      In many cases, this causes unnecessary churn, as already the set of
      paths touched by a given commit would suffice to determine that an
      upstream patch has no local equivalent.
      
      This hurts performance in particular when there are a lot of upstream
      patches, and/or large ones.
      
      Therefore, let's introduce the concept of a "diff-header-only" patch ID,
      compare those first, and only evaluate the "full" patch ID lazily.
      
      Please note that in contrast to the "full" patch IDs, those
      "diff-header-only" patch IDs are prone to collide with one another, as
      adjacent commits frequently touch the very same files. Hence we now
      have to be careful to allow multiple hash entries with the same hash.
      We accomplish that by using the hashmap_add() function that does not even
      test for hash collisions.  This also allows us to evaluate the full patch ID
      lazily, i.e. only when we found commits with matching diff-header-only
      patch IDs.
      
      We add a performance test that demonstrates ~1-6% improvement.  In
      practice this will depend on various factors such as how many upstream
      changes and how big those changes are along with whether file system
      caches are cold or warm.  As Git's test suite has no way of catching
      performance regressions, we also add a regression test that verifies
      that the full patch ID computation is skipped when the diff-header-only
      computation suffices.
      Signed-off-by: NKevin Willford <kcwillford@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b3dfeebb
    • V
      Spelling fixes · 2e3a16b2
      Ville Skyttä 提交于
          <BAD>                     <CORRECTED>
          accidently                accidentally
          commited                  committed
          dependancy                dependency
          emtpy                     empty
          existance                 existence
          explicitely               explicitly
          git-upload-achive         git-upload-archive
          hierachy                  hierarchy
          indegee                   indegree
          intial                    initial
          mulitple                  multiple
          non-existant              non-existent
          precendence.              precedence.
          priviledged               privileged
          programatically           programmatically
          psuedo-binary             pseudo-binary
          soemwhere                 somewhere
          successfull               successful
          transfering               transferring
          uncommited                uncommitted
          unkown                    unknown
          usefull                   useful
          writting                  writing
      Signed-off-by: NVille Skyttä <ville.skytta@iki.fi>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2e3a16b2
  6. 11 8月, 2016 14 次提交
    • J
      Sync with maint · a42d7b6a
      Junio C Hamano 提交于
      * maint:
        Yet another batch for 2.9.3
      a42d7b6a
    • J
      Twelfth batch for 2.10 · 27b0ea40
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      27b0ea40
    • J
      Merge branch 'sb/submodule-update-dot-branch' · 11b53957
      Junio C Hamano 提交于
      A few updates to "git submodule update".
      
      Use of "| wc -l" break with BSD variant of 'wc'.
      
      * sb/submodule-update-dot-branch:
        t7406: fix breakage on OSX
        submodule update: allow '.' for branch value
        submodule--helper: add remote-branch helper
        submodule-config: keep configured branch around
        submodule--helper: fix usage string for relative-path
        submodule update: narrow scope of local variable
        submodule update: respect depth in subsequent fetches
        t7406: future proof tests with hard coded depth
      11b53957
    • J
      Merge branch 'js/am-3-merge-recursive-direct' · 1a5f1a3f
      Junio C Hamano 提交于
      "git am -3" calls "git merge-recursive" when it needs to fall back
      to a three-way merge; this call has been turned into an internal
      subroutine call instead of spawning a separate subprocess.
      
      * js/am-3-merge-recursive-direct:
        merge-recursive: flush output buffer even when erroring out
        merge_trees(): ensure that the callers release output buffer
        merge-recursive: offer an option to retain the output in 'obuf'
        merge-recursive: write the commit title in one go
        merge-recursive: flush output buffer before printing error messages
        am -3: use merge_recursive() directly again
        merge-recursive: switch to returning errors instead of dying
        merge-recursive: handle return values indicating errors
        merge-recursive: allow write_tree_from_memory() to error out
        merge-recursive: avoid returning a wholesale struct
        merge_recursive: abort properly upon errors
        prepare the builtins for a libified merge_recursive()
        merge-recursive: clarify code in was_tracked()
        die(_("BUG")): avoid translating bug messages
        die("bug"): report bugs consistently
        t5520: verify that `pull --rebase` shows the helpful advice when failing
      1a5f1a3f
    • J
      Merge branch 'js/commit-slab-decl-fix' · 7a3ea666
      Junio C Hamano 提交于
      * js/commit-slab-decl-fix:
        commit-slab.h: avoid duplicated global static variables
        config.c: avoid duplicated global static variables
      7a3ea666
    • J
      Merge branch 'jk/completion-diff-submodule' · 483ca933
      Junio C Hamano 提交于
      * jk/completion-diff-submodule:
        completion: add completion for --submodule=* diff option
      483ca933
    • J
      Merge branch 'cc/mailmap-tuxfamily' · 2dceb922
      Junio C Hamano 提交于
      * cc/mailmap-tuxfamily:
        .mailmap: use Christian Couder's Tuxfamily address
      2dceb922
    • J
      Merge branch 'jt/format-patch-from-config' · db40a622
      Junio C Hamano 提交于
      "git format-patch" learned format.from configuration variable to
      specify the default settings for its "--from" option.
      
      * jt/format-patch-from-config:
        format-patch: format.from gives the default for --from
      db40a622
    • J
      Merge branch 'jk/push-force-with-lease-creation' · e6747627
      Junio C Hamano 提交于
      "git push --force-with-lease" already had enough logic to allow
      ensuring that such a push results in creation of a ref (i.e. the
      receiving end did not have another push from sideways that would be
      discarded by our force-pushing), but didn't expose this possibility
      to the users.  It does so now.
      
      * jk/push-force-with-lease-creation:
        t5533: make it pass on case-sensitive filesystems
        push: allow pushing new branches with --force-with-lease
        push: add shorthand for --force-with-lease branch creation
        Documentation/git-push: fix placeholder formatting
      e6747627
    • J
      Merge branch 'jk/reset-ident-time-per-commit' · 24fbe004
      Junio C Hamano 提交于
      Not-so-recent rewrite of "git am" that started making internal
      calls into the commit machinery had an unintended regression, in
      that no matter how many seconds it took to apply many patches, the
      resulting committer timestamp for the resulting commits were all
      the same.
      
      * jk/reset-ident-time-per-commit:
        am: reset cached ident date for each patch
      24fbe004
    • J
      Yet another batch for 2.9.3 · 8e4b75a9
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8e4b75a9
    • J
      Merge branch 'jh/clean-smudge-f-doc' into maint · 019d8a40
      Junio C Hamano 提交于
      A minor documentation update.
      
      This was split out from a stalled jh/clean-smudge-annex topic
      before discarding it.
      
      * jh/clean-smudge-f-doc:
        clarify %f documentation
      019d8a40
    • J
      Merge branch 'rs/use-strbuf-addstr' into maint · 574a31b5
      Junio C Hamano 提交于
      * rs/use-strbuf-addstr:
        use strbuf_addstr() instead of strbuf_addf() with "%s"
        use strbuf_addstr() for adding constant strings to a strbuf
      574a31b5
    • J
      Merge branch 'cp/completion-clone-recurse-submodules' into maint · 9a54075c
      Junio C Hamano 提交于
      * cp/completion-clone-recurse-submodules:
        completion: add option '--recurse-submodules' to 'git clone'
      9a54075c