1. 01 2月, 2017 9 次提交
    • J
      Merge branch 'dt/disable-bitmap-in-auto-gc' into maint · 81037171
      Junio C Hamano 提交于
      It is natural that "git gc --auto" may not attempt to pack
      everything into a single pack, and there is no point in warning
      when the user has configured the system to use the pack bitmap,
      leading to disabling further "gc".
      
      * dt/disable-bitmap-in-auto-gc:
        repack: die on incremental + write-bitmap-index
        auto gc: don't write bitmaps for incremental repacks
      81037171
    • J
      Merge branch 'nd/config-misc-fixes' into maint · bb7c47a4
      Junio C Hamano 提交于
      Leakage of lockfiles in the config subsystem has been fixed.
      
      * nd/config-misc-fixes:
        config.c: handle lock file in error case in git_config_rename_...
        config.c: rename label unlock_and_out
        config.c: handle error case for fstat() calls
      bb7c47a4
    • J
      Merge branch 'jc/abbrev-autoscale-config' into maint · 46ab2226
      Junio C Hamano 提交于
      Recent update to the default abbreviation length that auto-scales
      lacked documentation update, which has been corrected.
      
      * jc/abbrev-autoscale-config:
        config.abbrev: document the new default that auto-scales
      46ab2226
    • J
      Merge branch 'mh/fast-import-notes-fix-new' into maint · 867ce041
      Junio C Hamano 提交于
      "git fast-import" sometimes mishandled while rebalancing notes
      tree, which has been fixed.
      
      * mh/fast-import-notes-fix-new:
        fast-import: properly fanout notes when tree is imported
      867ce041
    • J
      Merge branch 'jc/compression-config' into maint · bdc370a5
      Junio C Hamano 提交于
      Compression setting for producing packfiles were spread across
      three codepaths, one of which did not honor any configuration.
      Unify these so that all of them honor core.compression and
      pack.compression variables the same way.
      
      * jc/compression-config:
        compression: unify pack.compression configuration parsing
      bdc370a5
    • J
      Merge branch 'ew/svn-fixes' into maint · 844f7e61
      Junio C Hamano 提交于
      Meant eventually for 'maint'.
      
      * ew/svn-fixes:
        git-svn: document useLogAuthor and addAuthorFrom config keys
        git-svn: allow "0" in SVN path components
      844f7e61
    • J
      Merge branch 'ls/travis-p4-on-macos' into maint · af1a71f1
      Junio C Hamano 提交于
      Update the definition of the MacOSX test environment used by
      TravisCI.
      
      * ls/travis-p4-on-macos:
        travis-ci: fix Perforce install on macOS
      af1a71f1
    • J
      Merge branch 'jk/make-tags-find-sources-tweak' into maint · fccb4139
      Junio C Hamano 提交于
      Update the procedure to generate "tags" for developer support.
      
      * jk/make-tags-find-sources-tweak:
        Makefile: exclude contrib from FIND_SOURCE_FILES
        Makefile: match shell scripts in FIND_SOURCE_FILES
        Makefile: exclude test cruft from FIND_SOURCE_FILES
        Makefile: reformat FIND_SOURCE_FILES
      fccb4139
    • J
      Merge branch 'jc/latin-1' into maint · 424b07a1
      Junio C Hamano 提交于
      Some platforms no longer understand "latin-1" that is still seen in
      the wild in e-mail headers; replace them with "iso-8859-1" that is
      more widely known when conversion fails from/to it.
      
      * jc/latin-1:
        utf8: accept "latin-1" as ISO-8859-1
        utf8: refactor code to decide fallback encoding
      424b07a1
  2. 24 1月, 2017 1 次提交
  3. 18 1月, 2017 30 次提交
    • J
      Almost ready for 2.11.1 · ad36dc8b
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ad36dc8b
    • J
      Merge branch 'mm/gc-safety-doc' into maint · 647a1bcf
      Junio C Hamano 提交于
      Doc update.
      
      * mm/gc-safety-doc:
        git-gc.txt: expand discussion of races with other processes
      647a1bcf
    • J
      Merge branch 'mm/push-social-engineering-attack-doc' into maint · f976c89a
      Junio C Hamano 提交于
      Doc update on fetching and pushing.
      
      * mm/push-social-engineering-attack-doc:
        doc: mention transfer data leaks in more places
      f976c89a
    • J
      Merge branch 'jt/fetch-no-redundant-tag-fetch-map' into maint · 8ee6fc96
      Junio C Hamano 提交于
      Code cleanup to avoid using redundant refspecs while fetching with
      the --tags option.
      
      * jt/fetch-no-redundant-tag-fetch-map:
        fetch: do not redundantly calculate tag refmap
      8ee6fc96
    • J
      Merge branch 'ls/filter-process' into maint · d4a682d4
      Junio C Hamano 提交于
      Doc update.
      
      * ls/filter-process:
        t0021: fix flaky test
        docs: warn about possible '=' in clean/smudge filter process values
      d4a682d4
    • J
      Merge branch 'kh/tutorial-grammofix' into maint · ef6e8151
      Junio C Hamano 提交于
      * kh/tutorial-grammofix:
        doc: omit needless "for"
        doc: make the intent of sentence clearer
        doc: add verb in front of command to run
        doc: add articles (grammar)
      ef6e8151
    • J
      Merge branch 'lr/doc-fix-cet' into maint · 34d5a66a
      Junio C Hamano 提交于
      * lr/doc-fix-cet:
        date-formats.txt: Typo fix
      34d5a66a
    • J
      Merge branch 'sb/t3600-cleanup' into maint · 1fb4a112
      Junio C Hamano 提交于
      Code cleanup.
      
      * sb/t3600-cleanup:
        t3600: slightly modernize style
        t3600: remove useless redirect
      1fb4a112
    • J
      Merge branch 'jk/readme-gmane-is-no-more' into maint · bc7547fd
      Junio C Hamano 提交于
      * jk/readme-gmane-is-no-more:
        README: replace gmane link with public-inbox
      bc7547fd
    • J
      Merge branch 'sb/unpack-trees-grammofix' into maint · 1addc197
      Junio C Hamano 提交于
      * sb/unpack-trees-grammofix:
        unpack-trees: fix grammar for untracked files in directories
      1addc197
    • J
      Merge branch 'ls/t0021-fixup' into maint · 13236160
      Junio C Hamano 提交于
      * ls/t0021-fixup:
        t0021: minor filter process test cleanup
      13236160
    • J
      Merge branch 'ak/lazy-prereq-mktemp' into maint · d0366b13
      Junio C Hamano 提交于
      Test code clean-up.
      
      * ak/lazy-prereq-mktemp:
        t7610: clean up foo.XXXXXX tmpdir
      d0366b13
    • J
      Merge branch 'nd/qsort-in-merge-recursive' into maint · 1df2046d
      Junio C Hamano 提交于
      Code simplification.
      
      * nd/qsort-in-merge-recursive:
        merge-recursive.c: use string_list_sort instead of qsort
      1df2046d
    • J
      Merge branch 'dt/smart-http-detect-server-going-away' into maint · 48d23c12
      Junio C Hamano 提交于
      When the http server gives an incomplete response to a smart-http
      rpc call, it could lead to client waiting for a full response that
      will never come.  Teach the client side to notice this condition
      and abort the transfer.
      
      An improvement counterproposal has failed.
      cf. <20161114194049.mktpsvgdhex2f4zv@sigill.intra.peff.net>
      
      * dt/smart-http-detect-server-going-away:
        upload-pack: optionally allow fetching any sha1
        remote-curl: don't hang when a server dies before any output
      48d23c12
    • J
      Merge branch 'mk/mingw-winansi-ttyname-termination-fix' into maint · 8554ee15
      Junio C Hamano 提交于
      A potential but unlikely buffer overflow in Windows port has been
      fixed.
      
      * mk/mingw-winansi-ttyname-termination-fix:
        mingw: consider that UNICODE_STRING::Length counts bytes
      8554ee15
    • J
      Merge branch 'gv/p4-multi-path-commit-fix' into maint · 1d5cb459
      Junio C Hamano 提交于
      "git p4" that tracks multile p4 paths imported a single changelist
      that touches files in these multiple paths as one commit, followed
      by many empty commits.  This has been fixed.
      
      * gv/p4-multi-path-commit-fix:
        git-p4: fix multi-path changelist empty commits
      1d5cb459
    • J
      Merge branch 'jk/difftool-in-subdir' into maint · a558332f
      Junio C Hamano 提交于
      Even though an fix was attempted in Git 2.9.3 days, but running
      "git difftool --dir-diff" from a subdirectory never worked. This
      has been fixed.
      
      * jk/difftool-in-subdir:
        difftool: rename variables for consistency
        difftool: chdir as early as possible
        difftool: sanitize $workdir as early as possible
        difftool: fix dir-diff index creation when in a subdirectory
      a558332f
    • J
      Merge branch 'ld/p4-compare-dir-vs-symlink' into maint · aa83f7a2
      Junio C Hamano 提交于
      "git p4" misbehaved when swapping a directory and a symbolic link.
      
      * ld/p4-compare-dir-vs-symlink:
        git-p4: avoid crash adding symlinked directory
      aa83f7a2
    • J
      Merge branch 'jc/push-default-explicit' into maint · af04b117
      Junio C Hamano 提交于
      A lazy "git push" without refspec did not internally use a fully
      specified refspec to perform 'current', 'simple', or 'upstream'
      push, causing unnecessary "ambiguous ref" errors.
      
      * jc/push-default-explicit:
        push: test pushing ambiguously named branches
        push: do not use potentially ambiguous default refspec
      af04b117
    • J
      Merge branch 'jt/mailinfo-fold-in-body-headers' into maint · 943c9a7b
      Junio C Hamano 提交于
      Fix for NDEBUG builds.
      
      * jt/mailinfo-fold-in-body-headers:
        mailinfo.c: move side-effects outside of assert
      943c9a7b
    • J
      Merge branch 'jk/index-pack-wo-repo-from-stdin' into maint · b984bc58
      Junio C Hamano 提交于
      "git index-pack --stdin" needs an access to an existing repository,
      but "git index-pack file.pack" to generate an .idx file that
      corresponds to a packfile does not.
      
      * jk/index-pack-wo-repo-from-stdin:
        index-pack: skip collision check when not in repository
        t: use nongit() function where applicable
        index-pack: complain when --stdin is used outside of a repo
        t5000: extract nongit function to test-lib-functions.sh
      b984bc58
    • J
      Merge branch 'jk/parseopt-usage-msg-opt' into maint · 5bc5edba
      Junio C Hamano 提交于
      The function usage_msg_opt() has been updated to say "fatal:"
      before the custom message programs give, when they want to die
      with a message about wrong command line options followed by the
      standard usage string.
      
      * jk/parseopt-usage-msg-opt:
        parse-options: print "fatal:" before usage_msg_opt()
      5bc5edba
    • J
      Merge branch 'jk/quote-env-path-list-component' into maint · bcaf277b
      Junio C Hamano 提交于
      A recent update to receive-pack to make it easier to drop garbage
      objects made it clear that GIT_ALTERNATE_OBJECT_DIRECTORIES cannot
      have a pathname with a colon in it (no surprise!), and this in turn
      made it impossible to push into a repository at such a path.  This
      has been fixed by introducing a quoting mechanism used when
      appending such a path to the colon-separated list.
      
      * jk/quote-env-path-list-component:
        t5615-alternate-env: double-quotes in file names do not work on Windows
        t5547-push-quarantine: run the path separator test on Windows, too
        tmp-objdir: quote paths we add to alternates
        alternates: accept double-quoted paths
      bcaf277b
    • J
      Merge branch 'nd/shallow-fixup' into maint · fdfec7af
      Junio C Hamano 提交于
      Code cleanup in shallow boundary computation.
      
      * nd/shallow-fixup:
        shallow.c: remove useless code
        shallow.c: bit manipulation tweaks
        shallow.c: avoid theoretical pointer wrap-around
        shallow.c: make paint_alloc slightly more robust
        shallow.c: stop abusing COMMIT_SLAB_SIZE for paint_info's memory pools
        shallow.c: rename fields in paint_info to better express their purposes
      fdfec7af
    • J
      Merge branch 'sb/sequencer-abort-safety' into maint · 7902b727
      Junio C Hamano 提交于
      Unlike "git am --abort", "git cherry-pick --abort" moved HEAD back
      to where cherry-pick started while picking multiple changes, when
      the cherry-pick stopped to ask for help from the user, and the user
      did "git reset --hard" to a different commit in order to re-attempt
      the operation.
      
      * sb/sequencer-abort-safety:
        Revert "sequencer: remove useless get_dir() function"
        sequencer: remove useless get_dir() function
        sequencer: make sequencer abort safer
        t3510: test that cherry-pick --abort does not unsafely change HEAD
        am: change safe_to_abort()'s not rewinding error into a warning
        am: fix filename in safe_to_abort() error message
      7902b727
    • J
      Merge branch 'da/mergetool-xxdiff-hotkey' into maint · 6d1f93ac
      Junio C Hamano 提交于
      The way to specify hotkeys to "xxdiff" that is used by "git
      mergetool" has been modernized to match recent versions of xxdiff.
      
      * da/mergetool-xxdiff-hotkey:
        mergetools: fix xxdiff hotkeys
      6d1f93ac
    • J
      Merge branch 'jc/pull-rebase-ff' into maint · e4ec4089
      Junio C Hamano 提交于
      "git pull --rebase", when there is no new commits on our side since
      we forked from the upstream, should be able to fast-forward without
      invoking "git rebase", but it didn't.
      
      * jc/pull-rebase-ff:
        pull: fast-forward "pull --rebase=true"
      e4ec4089
    • J
      Merge branch 'js/normalize-path-copy-ceil' into maint · 07ec05d9
      Junio C Hamano 提交于
      A pathname that begins with "//" or "\\" on Windows is special but
      path normalization logic was unaware of it.
      
      * js/normalize-path-copy-ceil:
        normalize_path_copy(): fix pushing to //server/share/dir on Windows
      07ec05d9
    • J
      Merge branch 'ak/commit-only-allow-empty' into maint · 9d2a2486
      Junio C Hamano 提交于
      "git commit --allow-empty --only" (no pathspec) with dirty index
      ought to be an acceptable way to create a new commit that does not
      change any paths, but it was forbidden, perhaps because nobody
      needed it so far.
      
      * ak/commit-only-allow-empty:
        commit: remove 'Clever' message for --only --amend
        commit: make --only --allow-empty work without paths
      9d2a2486
    • J
      Merge branch 'da/difftool-dir-diff-fix' into maint · 935a4783
      Junio C Hamano 提交于
      "git difftool --dir-diff" had a minor regression when started from
      a subdirectory, which has been fixed.
      
      * da/difftool-dir-diff-fix:
        difftool: fix dir-diff index creation when in a subdirectory
      935a4783