1. 07 7月, 2016 15 次提交
    • J
      Merge branch 'mg/signature-doc' · 1d77bed8
      Junio C Hamano 提交于
      Formats of the various data (and how to validate them) where we use
      GPG signature have been documented.
      
      * mg/signature-doc:
        Documentation/technical: signed merge tag format
        Documentation/technical: signed commit format
        Documentation/technical: signed tag format
        Documentation/technical: describe signature formats
      1d77bed8
    • J
      Merge branch 'nd/graph-width-padded' · f2140c38
      Junio C Hamano 提交于
      "log --graph --format=" learned that "%>|(N)" specifies the width
      relative to the terminal's left edge, not relative to the area to
      draw text that is to the right of the ancestry-graph section.  It
      also now accepts negative N that means the column limit is relative
      to the right border.
      
      * nd/graph-width-padded:
        pretty.c: support <direction>|(<negative number>) forms
        pretty: pass graph width to pretty formatting for use in '%>|(N)'
      f2140c38
    • J
      Merge branch 'jk/repack-keep-unreachable' · 979f0303
      Junio C Hamano 提交于
      "git repack" learned the "--keep-unreachable" option, which sends
      loose unreachable objects to a pack instead of leaving them loose.
      This helps heuristics based on the number of loose objects
      (e.g. "gc --auto").
      
      * jk/repack-keep-unreachable:
        repack: extend --keep-unreachable to loose objects
        repack: add --keep-unreachable option
        repack: document --unpack-unreachable option
      979f0303
    • J
      Merge branch 'ew/mboxrd-format-am' · e25a4ded
      Junio C Hamano 提交于
      Teach format-patch and mailsplit (hence "am") how a line that
      happens to begin with "From " in the e-mail message is quoted with
      ">", so that these lines can be restored to their original shape.
      
      * ew/mboxrd-format-am:
        am: support --patch-format=mboxrd
        mailsplit: support unescaping mboxrd messages
        pretty: support "mboxrd" output format
      e25a4ded
    • J
      Merge branch 'jk/upload-pack-hook' · 1e4bf907
      Junio C Hamano 提交于
      "upload-pack" allows a custom "git pack-objects" replacement when
      responding to "fetch/clone" via the uploadpack.packObjectsHook.
      
      * jk/upload-pack-hook:
        upload-pack: provide a hook for running pack-objects
        t1308: do not get fooled by symbolic links to the source tree
        config: add a notion of "scope"
        config: return configset value for current_config_ functions
        config: set up config_source for command-line config
        git_config_parse_parameter: refactor cleanup code
        git_config_with_options: drop "found" counting
      1e4bf907
    • J
      Merge branch 'nd/worktree-cleanup-post-head-protection' · 7a738b40
      Junio C Hamano 提交于
      Further preparatory clean-up for "worktree" feature continues.
      
      * nd/worktree-cleanup-post-head-protection:
        worktree: simplify prefixing paths
        worktree: avoid 0{40}, too many zeroes, hard to read
        worktree.c: use is_dot_or_dotdot()
        git-worktree.txt: keep subcommand listing in alphabetical order
        worktree.c: rewrite mark_current_worktree() to avoid strbuf
        completion: support git-worktree
      7a738b40
    • J
      Merge branch 'jk/bisect-show-tree' · f1e80a12
      Junio C Hamano 提交于
      "git bisect" makes an internal call to "git diff-tree" when
      bisection finds the culprit, but this call did not initialize the
      data structure to pass to the diff-tree API correctly.
      
      * jk/bisect-show-tree:
        bisect: always call setup_revisions after init_revisions
      f1e80a12
    • J
      Merge branch 'lf/sideband-returns-void' · 35d213c8
      Junio C Hamano 提交于
      A small internal API cleanup.
      
      * lf/sideband-returns-void:
        upload-pack.c: make send_client_data() return void
        sideband.c: make send_sideband() return void
      35d213c8
    • J
      Merge branch 'jk/add-i-diff-compact-heuristics' · 054d949f
      Junio C Hamano 提交于
      "git add -i/-p" learned to honor diff.compactionHeuristic
      experimental knob, so that the user can work on the same hunk split
      as "git diff" output.
      
      * jk/add-i-diff-compact-heuristics:
        add--interactive: respect diff.compactionHeuristic
      054d949f
    • J
      Merge branch 'km/fetch-do-not-free-remote-name' · 845351c9
      Junio C Hamano 提交于
      The ownership rule for the piece of memory that hold references to
      be fetched in "git fetch" was screwy, which has been cleaned up.
      
      * km/fetch-do-not-free-remote-name:
        builtin/fetch.c: don't free remote->name after fetch
      845351c9
    • J
      Merge branch 'nd/test-lib-httpd-show-error-log-in-verbose' · 34bf3bbb
      Junio C Hamano 提交于
      HTTPd tests learned to show the server error log to help diagnosing
      a failing tests.
      
      * nd/test-lib-httpd-show-error-log-in-verbose:
        lib-httpd.sh: print error.log on error
      34bf3bbb
    • J
      Merge branch 'jk/string-list-static-init' · b8b6365a
      Junio C Hamano 提交于
      Instead of taking advantage of a struct string_list that is
      allocated with all NULs happens to be STRING_LIST_INIT_NODUP kind,
      initialize them explicitly as such, to document their behaviour
      better.
      
      * jk/string-list-static-init:
        use string_list initializer consistently
        blame,shortlog: don't make local option variables static
        interpret-trailers: don't duplicate option strings
        parse_opt_string_list: stop allocating new strings
      b8b6365a
    • J
      Merge branch 'jk/send-pack-stdio' · 7e58b816
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/send-pack-stdio:
        write_or_die: remove the unused write_or_whine() function
        send-pack: use buffered I/O to talk to pack-objects
      7e58b816
    • J
      Merge branch 'pb/commit-editmsg-path' · 7758b02b
      Junio C Hamano 提交于
      Code clean-up.
      
      * pb/commit-editmsg-path:
        builtin/commit.c: memoize git-path for COMMIT_EDITMSG
      7758b02b
    • J
      Merge branch 'ep/http-curl-trace' · 2f84df2c
      Junio C Hamano 提交于
      HTTP transport gained an option to produce more detailed debugging
      trace.
      
      * ep/http-curl-trace:
        imap-send.c: introduce the GIT_TRACE_CURL enviroment variable
        http.c: implement the GIT_TRACE_CURL environment variable
      2f84df2c
  2. 28 6月, 2016 25 次提交
    • J
      Second batch of topics for 2.10 · cf4c2cfe
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cf4c2cfe
    • J
      Sync with maint · e1658495
      Junio C Hamano 提交于
      * maint:
        Start preparing for 2.9.1
      e1658495
    • J
      Start preparing for 2.9.1 · 2ff7dff0
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2ff7dff0
    • J
      Merge branch 'tb/complete-status' · deee904a
      Junio C Hamano 提交于
      The completion script (in contrib/) learned to complete "git
      status" options.
      
      * tb/complete-status:
        completion: add git status
        completion: add __git_get_option_value helper
        completion: factor out untracked file modes into a variable
      deee904a
    • J
      Merge branch 'mg/cherry-pick-multi-on-unborn' · db8128fe
      Junio C Hamano 提交于
      "git cherry-pick A" worked on an unborn branch, but "git
      cherry-pick A..B" didn't.
      
      * mg/cherry-pick-multi-on-unborn:
        cherry-pick: allow to pick to unborn branches
      db8128fe
    • J
      Merge branch 'lf/receive-pack-auto-gc-to-client' · 8579c4eb
      Junio C Hamano 提交于
      Allow messages that are generated by auto gc during "git push" on
      the receiving end to be explicitly passed back to the sending end
      over sideband, so that they are shown with "remote: " prefix to
      avoid confusing the users.
      
      * lf/receive-pack-auto-gc-to-client:
        receive-pack: send auto-gc output over sideband 2
      8579c4eb
    • J
      Merge branch 'em/newer-freebsd-shells-are-fine-with-returns' · 3ec9150a
      Junio C Hamano 提交于
      Comments about misbehaving FreeBSD shells have been clarified with
      the version number (9.x and before are broken, newer ones are OK).
      
      * em/newer-freebsd-shells-are-fine-with-returns:
        rebase: update comment about FreeBSD /bin/sh
      3ec9150a
    • J
      Merge branch 'lv/status-say-working-tree-not-directory' · a010d61e
      Junio C Hamano 提交于
      "git status" used to say "working directory" when it meant "working
      tree".
      
      * lv/status-say-working-tree-not-directory:
        Use "working tree" instead of "working directory" for git status
      a010d61e
    • J
      Merge branch 'nb/gnome-keyring-build' · 880c267a
      Junio C Hamano 提交于
      Build improvements for gnome-keyring (in contrib/)
      
      * nb/gnome-keyring-build:
        gnome-keyring: Don't hard-code pkg-config executable
      880c267a
    • J
      Merge branch 'jc/deref-tag' · 2a5618ec
      Junio C Hamano 提交于
      Code clean-up.
      
      * jc/deref-tag:
        blame, line-log: do not loop around deref_tag()
      2a5618ec
    • J
      Merge branch 'et/add-chmod-x' · c49fd57b
      Junio C Hamano 提交于
      "git update-index --add --chmod=+x file" may be usable as an escape
      hatch, but not a friendly thing to force for people who do need to
      use it regularly.  "git add --chmod=+x file" can be used instead.
      
      * et/add-chmod-x:
        add: add --chmod=+x / --chmod=-x options
      c49fd57b
    • J
      Merge branch 'jk/avoid-unbounded-alloca' · 269085e1
      Junio C Hamano 提交于
      * jk/avoid-unbounded-alloca:
        tree-diff: avoid alloca for large allocations
      269085e1
    • J
      Merge branch 'rj/compat-regex-size-max-fix' · 2380db5b
      Junio C Hamano 提交于
      A compilation fix.
      
      * rj/compat-regex-size-max-fix:
        regex: fix a SIZE_MAX macro redefinition warning
      2380db5b
    • J
      Merge branch 'vs/prompt-avoid-unset-variable' · be099661
      Junio C Hamano 提交于
      The git-prompt scriptlet (in contrib/) was not friendly with those
      who uses "set -u", which has been fixed.
      
      * vs/prompt-avoid-unset-variable:
        git-prompt.sh: Don't error on null ${ZSH,BASH}_VERSION, $short_sha
      be099661
    • J
      Merge branch 'sg/reflog-past-root' · 3873075a
      Junio C Hamano 提交于
      "git reflog" stopped upon seeing an entry that denotes a branch
      creation event (aka "unborn"), which made it appear as if the
      reflog was truncated.
      
      * sg/reflog-past-root:
        reflog: continue walking the reflog past root commits
      3873075a
    • J
      Merge branch 'pb/strbuf-read-file-doc' · ed319fca
      Junio C Hamano 提交于
      * pb/strbuf-read-file-doc:
        strbuf: describe the return value of strbuf_read_file
      ed319fca
    • J
      Merge branch 'dn/gpg-doc' · 3a764599
      Junio C Hamano 提交于
      The documentation tries to consistently spell "GPG"; when
      referring to the specific program name, "gpg" is used.
      
      * dn/gpg-doc:
        Documentation: GPG capitalization
      3a764599
    • J
      Merge branch 'jk/fetch-prune-doc' · 47640538
      Junio C Hamano 提交于
      * jk/fetch-prune-doc:
        fetch: document that pruning happens before fetching
      47640538
    • J
      Merge branch 'ap/git-svn-propset-doc' · 0c068afd
      Junio C Hamano 提交于
      "git svn propset" subcommand that was added in 2.3 days is
      documented now.
      
      * ap/git-svn-propset-doc:
        git-svn: document the 'git svn propset' command
      0c068afd
    • J
      Merge branch 'tr/doc-tt' · 94c61d25
      Junio C Hamano 提交于
      The documentation set has been updated so that literal commands,
      configuration variables and environment variables are consistently
      typeset in fixed-width font and bold in manpages.
      
      * tr/doc-tt:
        doc: change configuration variables format
        doc: more consistency in environment variables format
        doc: change environment variables format
        doc: clearer rule about formatting literals
      94c61d25
    • J
      Merge branch 'pc/occurred' · af325b0f
      Junio C Hamano 提交于
      * pc/occurred:
        config.c: fix misspelt "occurred" in an error message
        refs.h: fix misspelt "occurred" in a comment
      af325b0f
    • J
      Merge branch 'cc/apply-introduce-state' · 0bbda4ba
      Junio C Hamano 提交于
      The "git apply" standalone program is being libified; this is the
      first step to move many state variables into a structure that can
      be explicitly (re)initialized to make the machinery callable more
      than once.
      
      The next step that moves some remaining state variables into the
      structure and turns die()s into an error return that propagates up
      to the caller is not queued yet but in flight.  It would be good to
      review the above first and give the remainder of the series a solid
      base to build on.
      
      * cc/apply-introduce-state: (50 commits)
        builtin/apply: remove misleading comment on lock_file field
        builtin/apply: move 'newfd' global into 'struct apply_state'
        builtin/apply: add 'lock_file' pointer into 'struct apply_state'
        builtin/apply: move applying patches into apply_all_patches()
        builtin/apply: move 'state' check into check_apply_state()
        builtin/apply: move 'symlink_changes' global into 'struct apply_state'
        builtin/apply: move 'fn_table' global into 'struct apply_state'
        builtin/apply: move 'state_linenr' global into 'struct apply_state'
        builtin/apply: move 'max_change' and 'max_len' into 'struct apply_state'
        builtin/apply: move 'ws_ignore_action' into 'struct apply_state'
        builtin/apply: move 'ws_error_action' into 'struct apply_state'
        builtin/apply: move 'applied_after_fixing_ws' into 'struct apply_state'
        builtin/apply: move 'squelch_whitespace_errors' into 'struct apply_state'
        builtin/apply: remove whitespace_option arg from set_default_whitespace_mode()
        builtin/apply: move 'whitespace_option' into 'struct apply_state'
        builtin/apply: move 'whitespace_error' global into 'struct apply_state'
        builtin/apply: move 'root' global into 'struct apply_state'
        builtin/apply: move 'p_value_known' global into 'struct apply_state'
        builtin/apply: move 'p_value' global into 'struct apply_state'
        builtin/apply: move 'has_include' global into 'struct apply_state'
        ...
      0bbda4ba
    • J
      Merge branch 'rs/xdiff-hunk-with-func-line' into maint · fda65fad
      Junio C Hamano 提交于
      "git show -W" (extend hunks to cover the entire function, delimited
      by lines that match the "funcname" pattern) used to show the entire
      file when a change added an entire function at the end of the file,
      which has been fixed.
      
      * rs/xdiff-hunk-with-func-line:
        xdiff: fix merging of appended hunk with -W
        grep: -W: don't extend context to trailing empty lines
        t7810: add test for grep -W and trailing empty context lines
        xdiff: don't trim common tail with -W
        xdiff: -W: don't include common trailing empty lines in context
        xdiff: ignore empty lines before added functions with -W
        xdiff: handle appended chunks better with -W
        xdiff: factor out match_func_rec()
        t4051: rewrite, add more tests
      fda65fad
    • J
      Merge branch 'jk/rev-list-count-with-bitmap' into maint · df5a9255
      Junio C Hamano 提交于
      "git rev-list --count" whose walk-length is limited with "-n"
      option did not work well with the counting optimized to look at the
      bitmap index.
      
      * jk/rev-list-count-with-bitmap:
        rev-list: disable bitmaps when "-n" is used with listing objects
        rev-list: "adjust" results of "--count --use-bitmap-index -n"
      df5a9255
    • J
      Merge branch 'et/pretty-format-c-auto' into maint · fbb4138c
      Junio C Hamano 提交于
      The commands in `git log` family take %C(auto) in a custom format
      string.  This unconditionally turned the color on, ignoring
      --no-color or with --color=auto when the output is not connected to
      a tty; this was corrected to make the format truly behave as
      "auto".
      
      * et/pretty-format-c-auto:
        format_commit_message: honor `color=auto` for `%C(auto)`
      fbb4138c