1. 07 7月, 2016 6 次提交
    • 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 26 次提交
    • 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
    • J
      Merge branch 'ew/daemon-socket-keepalive' into maint · 0a20325a
      Junio C Hamano 提交于
      When "git daemon" is run without --[init-]timeout specified, a
      connection from a client that silently goes offline can hang around
      for a long time, wasting resources.  The socket-level KEEPALIVE has
      been enabled to allow the OS to notice such failed connections.
      
      * ew/daemon-socket-keepalive:
        daemon: enable SO_KEEPALIVE for all sockets
      0a20325a
  3. 23 6月, 2016 1 次提交
  4. 21 6月, 2016 7 次提交
    • J
      Start the post-2.9 cycle · ab7797db
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ab7797db
    • J
      Merge branch 'rs/xdiff-hunk-with-func-line' · d15c05a5
      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
      d15c05a5
    • J
      Merge branch 'jk/rev-list-count-with-bitmap' · 6d8c5454
      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"
      6d8c5454
    • J
      Merge branch 'wd/userdiff-css' · 8699b74a
      Junio C Hamano 提交于
      Update the funcname definition to support css files.
      
      * wd/userdiff-css:
        userdiff: add built-in pattern for CSS
      8699b74a
    • J
      Merge branch 'jc/clear-pathspec' · 1958a17f
      Junio C Hamano 提交于
      We usually call a function that clears the contents a data
      structure X without freeing the structure itself clear_X(), and
      call a function that does clear_X() and also frees it free_X().
      free_pathspec() function has been renamed to clear_pathspec()
      to avoid confusion.
      
      * jc/clear-pathspec:
        pathspec: rename free_pathspec() to clear_pathspec()
      1958a17f
    • J
      Merge branch 'aq/upload-pack-use-parse-options' · 0196c75e
      Junio C Hamano 提交于
      "git upload-pack" command has been updated to use the parse-options
      API.
      
      * aq/upload-pack-use-parse-options:
        upload-pack.c: use parse-options API
      0196c75e
    • J
      Merge branch 'jg/dash-is-last-branch-in-worktree-add' · 6d41eb68
      Junio C Hamano 提交于
      "git worktree add" learned that '-' can be used as a short-hand for
      "@{-1}", the previous branch.
      
      * jg/dash-is-last-branch-in-worktree-add:
        worktree: allow "-" short-hand for @{-1} in add command
      6d41eb68