1. 29 12月, 2017 4 次提交
    • J
      Merge branch 'ew/svn-crlf' · 63dd5448
      Junio C Hamano 提交于
      "git svn" has been updated to strip CRs in the commit messages, as
      recent versions of Subversion rejects them.
      
      * ew/svn-crlf:
        git-svn: convert CRLF to LF in commit message to SVN
      63dd5448
    • J
      Merge branch 'cc/skip-to-optional-val' · f427b949
      Junio C Hamano 提交于
      Introduce a helper to simplify code to parse a common pattern that
      expects either "--key" or "--key=<something>".
      
      * cc/skip-to-optional-val:
        t4045: reindent to make helpers readable
        diff: add tests for --relative without optional prefix value
        diff: use skip_to_optional_arg_default() in parsing --relative
        diff: use skip_to_optional_arg_default()
        diff: use skip_to_optional_arg()
        index-pack: use skip_to_optional_arg()
        git-compat-util: introduce skip_to_optional_arg()
      f427b949
    • J
      Merge branch 'ra/prompt-eread-fix' · 5abbdbbd
      Junio C Hamano 提交于
      Update the shell prompt script (in contrib/) to strip trailing CR
      from strings read from various "state" files.
      
      * ra/prompt-eread-fix:
        git-prompt: fix reading files with windows line endings
        git-prompt: make __git_eread intended use explicit
      5abbdbbd
    • J
      Merge branch 'bw/path-doc' · 1f24cad8
      Junio C Hamano 提交于
      Doc updates.
      
      * bw/path-doc:
        path: document path functions
      1f24cad8
  2. 28 12月, 2017 22 次提交
    • J
      RelNotes: the eleventh batch · 29533fb1
      Junio C Hamano 提交于
      Hopefully the last one before -rc0
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      29533fb1
    • J
      Merge branch 'rb/quick-install-doc' · dc8fb4dd
      Junio C Hamano 提交于
      The build procedure now allows not just the repositories but also
      the refs to be used to take pre-formatted manpages and html
      documents to install.
      
      * rb/quick-install-doc:
        install-doc-quick: allow specifying what ref to install
      dc8fb4dd
    • J
      Merge branch 'jt/transport-no-more-rsync' · d22114ac
      Junio C Hamano 提交于
      Code clean-up.
      
      * jt/transport-no-more-rsync:
        transport: remove unused "push" in vtable
      d22114ac
    • J
      Merge branch 'sg/travis-fixes' · f62b471d
      Junio C Hamano 提交于
      Assorted updates for TravisCI integration.
      
      * sg/travis-fixes:
        travis-ci: use 'set -x' in 'ci/*' scripts for extra tracing output
        travis-ci: set GIT_TEST_HTTPD in 'ci/lib-travisci.sh'
        travis-ci: move setting environment variables to 'ci/lib-travisci.sh'
        travis-ci: introduce a $jobname variable for 'ci/*' scripts
      f62b471d
    • J
      Merge branch 'sb/test-helper-excludes' · 06358125
      Junio C Hamano 提交于
      Simplify the ignore rules for t/helper directory.
      
      * sb/test-helper-excludes:
        t/helper: ignore everything but sources
      06358125
    • J
      Merge branch 'ot/pretty' · 6bd396be
      Junio C Hamano 提交于
      Code clean-up.
      
      * ot/pretty:
        format: create docs for pretty.h
        format: create pretty.h file
      6bd396be
    • J
      Merge branch 'bw/submodule-sans-cache-compat' · 00c4d2b6
      Junio C Hamano 提交于
      Code clean-up.
      
      * bw/submodule-sans-cache-compat:
        submodule: convert get_next_submodule to not rely on the_index
        submodule: used correct index in is_staging_gitmodules_ok
        submodule: convert stage_updated_gitmodules to take a struct index_state
      00c4d2b6
    • J
      Merge branch 'es/clone-shared-worktree' · 237aa99c
      Junio C Hamano 提交于
      "git clone --shared" to borrow from a (secondary) worktree did not
      work, even though "git clone --local" did.  Both are now accepted.
      
      * es/clone-shared-worktree:
        clone: support 'clone --shared' from a worktree
      237aa99c
    • J
      Merge branch 'tb/delimit-pretty-trailers-args-with-comma' · e2e2bf24
      Junio C Hamano 提交于
      Doc updates.
      
      * tb/delimit-pretty-trailers-args-with-comma:
        docs/pretty-formats: mention commas in %(trailers) syntax
      e2e2bf24
    • J
      Merge branch 'rs/fmt-merge-msg-leakfix' · 54b1335a
      Junio C Hamano 提交于
      Leakfix.
      
      * rs/fmt-merge-msg-leakfix:
        transport-helper: plug strbuf and string_list leaks
      54b1335a
    • J
      Merge branch 'jt/decorate-api' · eacf669c
      Junio C Hamano 提交于
      A few structures and variables that are implementation details of
      the decorate API have been renamed and then the API got documented
      better.
      
      * jt/decorate-api:
        decorate: clean up and document API
      eacf669c
    • J
      Merge branch 'jk/cvsimport-quoting' · 6ae18684
      Junio C Hamano 提交于
      Typo/Logico fix.
      
      * jk/cvsimport-quoting:
        cvsimport: apply shell-quoting regex globally
      6ae18684
    • J
      Merge branch 'db/doc-workflows-neuter-the-maintainer' · f7bbca1c
      Junio C Hamano 提交于
      Docfix.
      
      * db/doc-workflows-neuter-the-maintainer:
        doc: reword gitworkflows.txt for neutrality
      f7bbca1c
    • J
      Merge branch 'ks/branch-cleanup' · 0faff988
      Junio C Hamano 提交于
      Code clean-up.
      
      * ks/branch-cleanup:
        builtin/branch: strip refs/heads/ using skip_prefix
        branch: update warning message shown when copying a misnamed branch
        branch: group related arguments of create_branch()
        branch: improve documentation and naming of create_branch() parameters
      0faff988
    • J
      Merge branch 'rs/strbuf-read-once-reset-length' · a13e45f1
      Junio C Hamano 提交于
      Leakfix.
      
      * rs/strbuf-read-once-reset-length:
        strbuf: release memory on read error in strbuf_read_once()
      a13e45f1
    • J
      Merge branch 'rs/fmt-merge-msg-string-leak-fix' · 1f9ce78d
      Junio C Hamano 提交于
      Leakfix.
      
      * rs/fmt-merge-msg-string-leak-fix:
        fmt-merge-msg: avoid leaking strbuf in shortlog()
      1f9ce78d
    • J
      Merge branch 'rs/am-builtin-leakfix' · 5c14bd61
      Junio C Hamano 提交于
      Leakfix.
      
      * rs/am-builtin-leakfix:
        am: release strbuf after use in split_mail_mbox()
      5c14bd61
    • J
      Merge branch 'es/worktree-checkout-hook' · e87f9fc9
      Junio C Hamano 提交于
      "git worktree add" learned to run the post-checkout hook, just like
      "git checkout" does, after the initial checkout.
      
      * es/worktree-checkout-hook:
        worktree: invoke post-checkout hook (unless --no-checkout)
      e87f9fc9
    • J
      Merge branch 'lb/rebase-i-short-command-names' · 0da2ba48
      Junio C Hamano 提交于
      With a configuration variable rebase.abbreviateCommands set,
      "git rebase -i" produces the todo list with a single-letter
      command names.
      
      * lb/rebase-i-short-command-names:
        sequencer.c: drop 'const' from function return type
        t3404: add test case for abbreviated commands
        rebase -i: learn to abbreviate command names
        rebase -i -x: add exec commands via the rebase--helper
        rebase -i: update functions to use a flags parameter
        rebase -i: replace reference to sha1 with oid
        rebase -i: refactor transform_todo_ids
        rebase -i: set commit to null in exec commands
        Documentation: use preferred name for the 'todo list' script
        Documentation: move rebase.* configs to new file
      0da2ba48
    • J
      Merge branch 'tb/check-crlf-for-safe-crlf' · 720b1764
      Junio C Hamano 提交于
      The "safe crlf" check incorrectly triggered for contents that does
      not use CRLF as line endings, which has been corrected.
      
      * tb/check-crlf-for-safe-crlf:
        t0027: Adapt the new MIX tests to Windows
        convert: tighten the safe autocrlf handling
      720b1764
    • J
      Merge branch 'jh/object-filtering' · 61061abb
      Junio C Hamano 提交于
      In preparation for implementing narrow/partial clone, the object
      walking machinery has been taught a way to tell it to "filter" some
      objects from enumeration.
      
      * jh/object-filtering:
        rev-list: support --no-filter argument
        list-objects-filter-options: support --no-filter
        list-objects-filter-options: fix 'keword' typo in comment
        pack-objects: add list-objects filtering
        rev-list: add list-objects filtering support
        list-objects: filter objects in traverse_commit_list
        oidset: add iterator methods to oidset
        oidmap: add oidmap iterator methods
        dir: allow exclusions from blob in addition to file
      61061abb
    • J
      sequencer.c: drop 'const' from function return type · ee5462d6
      Junio C Hamano 提交于
      With -Werror=ignored-qualifiers, a function that claims to return
      "const char" gets this error:
      
          CC sequencer.o
      sequencer.c:798:19: error: type qualifiers ignored on function return
      type [-Werror=ignored-qualifiers]
       static const char command_to_char(const enum todo_command command)
                         ^
      Reported-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ee5462d6
  3. 20 12月, 2017 13 次提交
    • J
      RelNotes: the tenth batch · 936d1b98
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      936d1b98
    • J
      Merge branch 'ls/editor-waiting-message' · 0c69a132
      Junio C Hamano 提交于
      Git shows a message to tell the user that it is waiting for the
      user to finish editing when spawning an editor, in case the editor
      opens to a hidden window or somewhere obscure and the user gets
      lost.
      
      * ls/editor-waiting-message:
        launch_editor(): indicate that Git waits for user input
        refactor "dumb" terminal determination
      0c69a132
    • J
      Merge branch 'sg/setup-doc-update' · bdae4af8
      Junio C Hamano 提交于
      Comment update.
      
      * sg/setup-doc-update:
        setup.c: fix comment about order of .git directory discovery
      bdae4af8
    • J
      Merge branch 'ar/unconfuse-three-dots' · 8d7fefaa
      Junio C Hamano 提交于
      Ancient part of codebase still shows dots after an abbreviated
      object name just to show that it is not a full object name, but
      these ellipses are confusing to people who newly discovered Git
      who are used to seeing abbreviated object names and find them
      confusing with the range syntax.
      
      * ar/unconfuse-three-dots:
        t2020: test variations that matter
        t4013: test new output from diff --abbrev --raw
        diff: diff_aligned_abbrev: remove ellipsis after abbreviated SHA-1 value
        t4013: prepare for upcoming "diff --raw --abbrev" output format change
        checkout: describe_detached_head: remove ellipsis after committish
        print_sha1_ellipsis: introduce helper
        Documentation: user-manual: limit usage of ellipsis
        Documentation: revisions: fix typo: "three dot" ---> "three-dot" (in line with "two-dot").
      8d7fefaa
    • J
      Merge branch 'tg/worktree-create-tracking' · 66d3f193
      Junio C Hamano 提交于
      The way "git worktree add" determines what branch to create from
      where and checkout in the new worktree has been updated a bit.
      
      * tg/worktree-create-tracking:
        add worktree.guessRemote config option
        worktree: add --guess-remote flag to add subcommand
        worktree: make add <path> <branch> dwim
        worktree: add --[no-]track option to the add subcommand
        worktree: add can be created from any commit-ish
        checkout: factor out functions to new lib file
      66d3f193
    • J
      Merge branch 'gk/tracing-optimization' · 1974f479
      Junio C Hamano 提交于
      The tracing infrastructure has been optimized for cases where no
      tracing is requested.
      
      * gk/tracing-optimization:
        trace: improve performance while category is disabled
        trace: remove trace key normalization
      1974f479
    • J
      Merge branch 'bw/submodule-config-cleanup' · 6f3a0b6d
      Junio C Hamano 提交于
      Recent update to the submodule configuration code broke "diff-tree"
      by accidentally stopping to read from the index upfront.
      
      * bw/submodule-config-cleanup:
        diff-tree: read the index so attribute checks work in bare repositories
      6f3a0b6d
    • J
      Merge branch 'sb/clone-recursive-submodule-doc' · a328b2cb
      Junio C Hamano 提交于
      Doc update.
      
      * sb/clone-recursive-submodule-doc:
        Documentation/git-clone: improve description for submodule recursing
      a328b2cb
    • J
      Merge branch 'ls/git-gui-no-double-utf8-author-name' · e7d1b526
      Junio C Hamano 提交于
      Amending commits in git-gui broke the author name that is non-ascii
      due to incorrect enconding conversion.
      
      * ls/git-gui-no-double-utf8-author-name:
        git-gui: prevent double UTF-8 conversion
      e7d1b526
    • J
      Merge branch 'bw/pathspec-match-submodule-boundary' · f4f233e1
      Junio C Hamano 提交于
      An v2.12-era regression in pathspec match logic, which made it look
      into submodule tree even when it is not desired, has been fixed.
      
      * bw/pathspec-match-submodule-boundary:
        pathspec: only match across submodule boundaries when requested
      f4f233e1
    • J
      Merge branch 'jt/diff-anchored-patience' · d7c6c236
      Junio C Hamano 提交于
      "git diff" learned a variant of the "--patience" algorithm, to
      which the user can specify which 'unique' line to be used as
      anchoring points.
      
      * jt/diff-anchored-patience:
        diff: support anchoring line(s)
      d7c6c236
    • J
      Merge branch 'en/merge-recursive-icase-removal' · 6d2c4619
      Junio C Hamano 提交于
      The code internal to the recursive merge strategy was not fully
      prepared to see a path that is renamed to try overwriting another
      path that is only different in case on case insensitive systems.
      This does not matter in the current code, but will start to matter
      once the rename detection logic starts taking hints from nearby
      paths moving to some directory and moves a new path along with them.
      
      * en/merge-recursive-icase-removal:
        merge-recursive: ignore_case shouldn't reject intentional removals
      6d2c4619
    • J
      Merge branch 'en/rename-progress' · 64668546
      Junio C Hamano 提交于
      Historically, the diff machinery for rename detection had a
      hardcoded limit of 32k paths; this is being lifted to allow users
      trade cycles with a (possibly) easier to read result.
      
      * en/rename-progress:
        diffcore-rename: make diff-tree -l0 mean -l<large>
        sequencer: show rename progress during cherry picks
        diff: remove silent clamp of renameLimit
        progress: fix progress meters when dealing with lots of work
        sequencer: warn when internal merge may be suboptimal due to renameLimit
      64668546
  4. 15 12月, 2017 1 次提交