1. 22 12月, 2016 6 次提交
    • J
      Merge branch 'jk/parseopt-usage-msg-opt' · 47021efd
      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()
      47021efd
    • J
      Merge branch 'jk/quote-env-path-list-component' · fe050334
      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
      fe050334
    • J
      Merge branch 'vs/submodule-clone-nested-submodules-alternates' · 1123026f
      Junio C Hamano 提交于
      "git clone --reference $there --recurse-submodules $super" has been
      taught to guess repositories usable as references for submodules of
      $super that are embedded in $there while making a clone of the
      superproject borrow objects from $there; extend the mechanism to
      also allow submodules of these submodules to borrow repositories
      embedded in these clones of the submodules embedded in the clone of
      the superproject.
      
      * vs/submodule-clone-nested-submodules-alternates:
        submodule--helper: set alternateLocation for cloned submodules
      1123026f
    • J
      Merge branch 'nd/shallow-fixup' · 3c9979be
      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
      3c9979be
    • J
      Merge branch 'sb/sequencer-abort-safety' · 4fcc0911
      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
      4fcc0911
    • J
      t5615-alternate-env: double-quotes in file names do not work on Windows · 5e74824f
      Johannes Sixt 提交于
      Protect a recently added test case with !MINGW.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5e74824f
  2. 20 12月, 2016 29 次提交
    • J
      Second batch for 2.12 · 6610af87
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6610af87
    • J
      Merge branch 'kh/tutorial-grammofix' · f0e0955a
      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)
      f0e0955a
    • J
      Merge branch 'da/mergetool-xxdiff-hotkey' · a3c98872
      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
      a3c98872
    • J
      Merge branch 'lr/doc-fix-cet' · b07c4e9b
      Junio C Hamano 提交于
      * lr/doc-fix-cet:
        date-formats.txt: Typo fix
      b07c4e9b
    • J
      Merge branch 'sb/t3600-cleanup' · 2d91cb79
      Junio C Hamano 提交于
      Code cleanup.
      
      * sb/t3600-cleanup:
        t3600: slightly modernize style
        t3600: remove useless redirect
      2d91cb79
    • J
      Merge branch 'jc/pull-rebase-ff' · 2fb11ec6
      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"
      2fb11ec6
    • J
      Merge branch 'ld/p4-worktree' · 101f3dc9
      Junio C Hamano 提交于
      "git p4" didn't interact with the internal of .git directory
      correctly in the modern "git-worktree"-enabled world.
      
      * ld/p4-worktree:
        git-p4: support git worktrees
      101f3dc9
    • J
      Merge branch 'jk/make-tags-find-sources-tweak' · 09b4fdb5
      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
      09b4fdb5
    • J
      Merge branch 'js/normalize-path-copy-ceil' · 4833b7ec
      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
      4833b7ec
    • J
      Merge branch 'bb/unicode-9.0' · 0cfdda34
      Junio C Hamano 提交于
      The character width table has been updated to match Unicode 9.0
      
      * bb/unicode-9.0:
        unicode_width.h: update the width tables to Unicode 9.0
        update_unicode.sh: remove the plane filter
        update_unicode.sh: automatically download newer definition files
        update_unicode.sh: pin the uniset repo to a known good commit
        update_unicode.sh: remove an unnecessary subshell level
        update_unicode.sh: move it into contrib/update-unicode
      0cfdda34
    • J
      Merge branch 'jk/readme-gmane-is-no-more' · 3da9366e
      Junio C Hamano 提交于
      * jk/readme-gmane-is-no-more:
        README: replace gmane link with public-inbox
      3da9366e
    • J
      Merge branch 'jc/lock-report-on-error' · 95713ff4
      Junio C Hamano 提交于
      Git 2.11 had a minor regression in "merge --ff-only" that competed
      with another process that simultanously attempted to update the
      index. We used to explain what went wrong with an error message,
      but the new code silently failed.  The error message has been
      resurrected.
      
      * jc/lock-report-on-error:
        lockfile: LOCK_REPORT_ON_ERROR
        hold_locked_index(): align error handling with hold_lockfile_for_update()
        wt-status: implement opportunisitc index update correctly
      95713ff4
    • J
      Merge branch 'jk/xdiff-drop-xdl-fast-hash' · 731490bf
      Junio C Hamano 提交于
      Retire the "fast hash" that had disastrous performance issues in
      some corner cases.
      
      * jk/xdiff-drop-xdl-fast-hash:
        xdiff: drop XDL_FAST_HASH
      731490bf
    • J
      Merge branch 'nd/rebase-forget' · 06cd5a1e
      Junio C Hamano 提交于
      "git rebase" learned "--quit" option, which allows a user to
      remove the metadata left by an earlier "git rebase" that was
      manually aborted without using "git rebase --abort".
      
      * nd/rebase-forget:
        rebase: add --quit to cleanup rebase, leave everything else untouched
      06cd5a1e
    • J
      Merge branch 'jk/trailers-placeholder-in-pretty' · f008159f
      Junio C Hamano 提交于
      In addition to %(subject), %(body), "log --pretty=format:..."
      learned a new placeholder %(trailers).
      
      * jk/trailers-placeholder-in-pretty:
        ref-filter: add support to display trailers as part of contents
        pretty: add %(trailers) format for displaying trailers of a commit message
      f008159f
    • J
      Merge branch 'ak/commit-only-allow-empty' · 3aead1ca
      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
      3aead1ca
    • J
      Merge branch 'da/difftool-dir-diff-fix' · afe0e2a3
      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
      afe0e2a3
    • J
      Merge branch 'jb/diff-no-index-no-abbrev' · c89606fa
      Junio C Hamano 提交于
      "git diff --no-index" did not take "--no-abbrev" option.
      
      * jb/diff-no-index-no-abbrev:
        diff: handle --no-abbrev in no-index case
      c89606fa
    • J
      Merge branch 'rj/git-version-gen-do-not-force-abbrev' · 0a45050a
      Junio C Hamano 提交于
      A minor build update.
      
      * rj/git-version-gen-do-not-force-abbrev:
        GIT-VERSION-GEN: do not force abbreviation length used by 'describe'
      0a45050a
    • J
      Merge branch 'jk/stash-disable-renames-internally' · db09f21b
      Junio C Hamano 提交于
      When diff.renames configuration is on (and with Git 2.9 and later,
      it is enabled by default, which made it worse), "git stash"
      misbehaved if a file is removed and another file with a very
      similar content is added.
      
      * jk/stash-disable-renames-internally:
        stash: prefer plumbing over git-diff
      db09f21b
    • J
      Merge branch 'jk/http-walker-limit-redirect' · da72ee87
      Junio C Hamano 提交于
      Update the error messages from the dumb-http client when it fails
      to obtain loose objects; we used to give sensible error message
      only upon 404 but we now forbid unexpected redirects that needs to
      be reported with something sensible.
      
      * jk/http-walker-limit-redirect:
        http-walker: complain about non-404 loose object errors
      da72ee87
    • J
      Merge branch 'jk/http-walker-limit-redirect-2.9' · 8a2882f2
      Junio C Hamano 提交于
      Transport with dumb http can be fooled into following foreign URLs
      that the end user does not intend to, especially with the server
      side redirects and http-alternates mechanism, which can lead to
      security issues.  Tighten the redirection and make it more obvious
      to the end user when it happens.
      
      * jk/http-walker-limit-redirect-2.9:
        http: treat http-alternates like redirects
        http: make redirects more obvious
        remote-curl: rename shadowed options variable
        http: always update the base URL for redirects
        http: simplify update_url_from_redirect
      8a2882f2
    • J
      Merge branch 'nd/for-each-ref-ignore-case' · 73e494f8
      Junio C Hamano 提交于
      "git branch --list" and friends learned "--ignore-case" option to
      optionally sort branches and tags case insensitively.
      
      * nd/for-each-ref-ignore-case:
        tag, branch, for-each-ref: add --ignore-case for sorting and filtering
      73e494f8
    • J
      Merge branch 'sb/unpack-trees-grammofix' · 0f30315b
      Junio C Hamano 提交于
      * sb/unpack-trees-grammofix:
        unpack-trees: fix grammar for untracked files in directories
      0f30315b
    • J
      Merge branch 'ls/travis-update-p4-and-lfs' · b08c812f
      Junio C Hamano 提交于
      The default Travis-CI configuration specifies newer P4 and GitLFS.
      
      * ls/travis-update-p4-and-lfs:
        travis-ci: update P4 to 16.2 and GitLFS to 1.5.2 in Linux build
      b08c812f
    • J
      Merge branch 'ls/t0021-fixup' · 63d6a9c9
      Junio C Hamano 提交于
      * ls/t0021-fixup:
        t0021: minor filter process test cleanup
      63d6a9c9
    • J
      Merge branch 'ah/grammos' · 02db2d04
      Junio C Hamano 提交于
      A few messages have been fixed for their grammatical errors.
      
      * ah/grammos:
        clone,fetch: explain the shallow-clone option a little more clearly
        receive-pack: improve English grammar of denyCurrentBranch message
        bisect: improve English grammar of not-ancestors message
      02db2d04
    • J
      Merge branch 'jc/renormalize-merge-kill-safer-crlf' · 1749053d
      Junio C Hamano 提交于
      Fix a corner case in merge-recursive regression that crept in
      during 2.10 development cycle.
      
      * jc/renormalize-merge-kill-safer-crlf:
        convert: git cherry-pick -Xrenormalize did not work
        merge-recursive: handle NULL in add_cacheinfo() correctly
        cherry-pick: demonstrate a segmentation fault
      1749053d
    • J
      Merge branch 'jt/use-trailer-api-in-commands' · 8b0db484
      Junio C Hamano 提交于
      Commands that operate on a log message and add lines to the trailer
      blocks, such as "format-patch -s", "cherry-pick (-x|-s)", and
      "commit -s", have been taught to use the logic of and share the
      code with "git interpret-trailer".
      
      * jt/use-trailer-api-in-commands:
        sequencer: use trailer's trailer layout
        trailer: have function to describe trailer layout
        trailer: avoid unnecessary splitting on lines
        commit: make ignore_non_trailer take buf/len
        trailer: be stricter in parsing separators
      8b0db484
  3. 17 12月, 2016 5 次提交