1. 14 6月, 2017 1 次提交
    • J
      Merge branch 'sb/checkout-recurse-submodules' into maint · 146b0ab1
      Junio C Hamano 提交于
      "git checkout --recurse-submodules" did not quite work with a
      submodule that itself has submodules.
      
      * sb/checkout-recurse-submodules:
        submodule: properly recurse for read-tree and checkout
        submodule: avoid auto-discovery in new working tree manipulator code
        submodule_move_head: reuse child_process structure for futher commands
      146b0ab1
  2. 07 6月, 2017 3 次提交
  3. 05 6月, 2017 22 次提交
  4. 04 6月, 2017 14 次提交
    • J
      Prepare for 2.13.1; more topics to follow · e215bd91
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e215bd91
    • J
      Merge branch 'tg/stash-push-fixup' into maint · 5ecbaaf1
      Junio C Hamano 提交于
      The shell completion script (in contrib/) learned "git stash" has
      a new "push" subcommand.
      
      * tg/stash-push-fixup:
        completion: add git stash push
      5ecbaaf1
    • J
      Merge branch 'km/log-showsignature-doc' into maint · b522c33b
      Junio C Hamano 提交于
      Doc update.
      
      * km/log-showsignature-doc:
        config.txt: add an entry for log.showSignature
      b522c33b
    • J
      Merge branch 'jt/use-trailer-api-in-commands' into maint · e2ae5ec1
      Junio C Hamano 提交于
      "git cherry-pick" and other uses of the sequencer machinery
      mishandled a trailer block whose last line is an incomplete line.
      This has been fixed so that an additional sign-off etc. are added
      after completing the existing incomplete line.
      
      * jt/use-trailer-api-in-commands:
        sequencer: add newline before adding footers
      e2ae5ec1
    • J
      Merge branch 'jt/push-options-doc' into maint · 058d655f
      Junio C Hamano 提交于
      The receive-pack program now makes sure that the push certificate
      records the same set of push options used for pushing.
      
      * jt/push-options-doc:
        receive-pack: verify push options in cert
        docs: correct receive.advertisePushOptions default
      058d655f
    • J
      Merge branch 'js/plug-leaks' into maint · 34bbe2ed
      Junio C Hamano 提交于
      Fix memory leaks pointed out by Coverity (and people).
      
      * js/plug-leaks: (26 commits)
        checkout: fix memory leak
        submodule_uses_worktrees(): plug memory leak
        show_worktree(): plug memory leak
        name-rev: avoid leaking memory in the `deref` case
        remote: plug memory leak in match_explicit()
        add_reflog_for_walk: avoid memory leak
        shallow: avoid memory leak
        line-log: avoid memory leak
        receive-pack: plug memory leak in update()
        fast-export: avoid leaking memory in handle_tag()
        mktree: plug memory leaks reported by Coverity
        pack-redundant: plug memory leak
        setup_discovered_git_dir(): plug memory leak
        setup_bare_git_dir(): help static analysis
        split_commit_in_progress(): simplify & fix memory leak
        checkout: fix memory leak
        cat-file: fix memory leak
        mailinfo & mailsplit: check for EOF while parsing
        status: close file descriptor after reading git-rebase-todo
        difftool: address a couple of resource/memory leaks
        ...
      34bbe2ed
    • J
      Merge branch 'js/eol-on-ourselves' into maint · 7ba4fa5c
      Junio C Hamano 提交于
      Make sure our tests would pass when the sources are checked out
      with "platform native" line ending convention by default on
      Windows.  Some "text" files out tests use and the test scripts
      themselves that are meant to be run with /bin/sh, ought to be
      checked out with eol=LF even on Windows.
      
      * js/eol-on-ourselves:
        t4051: mark supporting files as requiring LF-only line endings
        Fix the remaining tests that failed with core.autocrlf=true
        t3901: move supporting files into t/t3901/
        completion: mark bash script as LF-only
        git-new-workdir: mark script as LF-only
        Fix build with core.autocrlf=true
      7ba4fa5c
    • J
      Merge branch 'jk/update-links-in-docs' into maint · 970fb22d
      Junio C Hamano 提交于
      A few http:// links that are redirected to https:// in the
      documentation have been updated to https:// links.
      
      * jk/update-links-in-docs:
        doc: use https links to Wikipedia to avoid http redirects
      970fb22d
    • J
      Merge branch 'jk/ignore-broken-tags-when-ignoring-missing-links' into maint · 8d958b97
      Junio C Hamano 提交于
      Tag objects, which are not reachable from any ref, that point at
      missing objects were mishandled by "git gc" and friends (they
      should silently be ignored instead)
      
      * jk/ignore-broken-tags-when-ignoring-missing-links:
        revision.c: ignore broken tags with ignore_missing_links
      8d958b97
    • J
      Merge branch 'jk/doc-config-include' into maint · aa5439d6
      Junio C Hamano 提交于
      Clarify documentation for include.path and includeIf.<condition>.path
      configuration variables.
      
      * jk/doc-config-include:
        docs/config: consistify include.path examples
        docs/config: avoid the term "expand" for includes
        docs/config: give a relative includeIf example
        docs/config: clarify include/includeIf relationship
      aa5439d6
    • J
      Merge branch 'jk/disable-pack-reuse-when-broken' into maint · f305016f
      Junio C Hamano 提交于
      "pack-objects" can stream a slice of an existing packfile out when
      the pack bitmap can tell that the reachable objects are all needed
      in the output, without inspecting individual objects.  This
      strategy however would not work well when "--local" and other
      options are in use, and need to be disabled.
      
      * jk/disable-pack-reuse-when-broken:
        t5310: fix "; do" style
        pack-objects: disable pack reuse for object-selection options
      f305016f
    • J
      Merge branch 'jk/am-leakfix' into maint · 70d19a43
      Junio C Hamano 提交于
      The codepath in "git am" that is used when running "git rebase"
      leaked memory held for the log message of the commits being rebased.
      
      * jk/am-leakfix:
        am: shorten ident_split variable name in get_commit_info()
        am: simplify allocations in get_commit_info()
        am: fix commit buffer leak in get_commit_info()
      70d19a43
    • J
      Merge branch 'jc/read-tree-empty-with-m' into maint · 8a17b259
      Junio C Hamano 提交于
      "git read-tree -m" (no tree-ish) gave a nonsense suggestion "use
      --empty if you want to clear the index".  With "-m", such a request
      will still fail anyway, as you'd need to name at least one tree-ish
      to be merged.
      
      * jc/read-tree-empty-with-m:
        read-tree: "read-tree -m --empty" does not make sense
      8a17b259
    • J
      Merge branch 'jc/apply-fix-mismerge' into maint · 34a75ccb
      Junio C Hamano 提交于
      Mismerge fix.
      
      * jc/apply-fix-mismerge:
        apply.c: fix whitespace-only mismerge
      34a75ccb