1. 12 7月, 2016 1 次提交
  2. 29 6月, 2016 1 次提交
    • J
      diff: do not color output when --color=auto and --output=<file> is given · afc676f2
      Johannes Schindelin 提交于
      "git diff --output=<file> --color=auto" used to show the ANSI color
      sequence in the resulting file when the standard output is connected
      to a terminal, because --color=auto check always checks the standard
      output, not the actual file that receives the output.
      
      We could correct this by using freopen(3) to redirect the standard
      output to the specified file, which is in like with how format-patch
      used to match the world order, but following the same reasoning as
      the earlier "format-patch: explicitly switch off color when writing
      to files", let's be more strict by bypassing the "auto" check when
      the --output=<file> option is in use.
      
      Strictly speaking, this is a backwards-incompatible change, but
      it is highly unlikely that any user would want to see ANSI color
      sequences in a file.
      
      The reason this was not caught earlier is most likely that either
      --output=<file> is not used, or only when stdout is redirected
      anyway.
      
      Users can still give --color=always if they want a colored diff in
      the resulting file.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      afc676f2
  3. 25 6月, 2016 10 次提交
  4. 21 6月, 2016 13 次提交
    • 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
    • J
      Merge branch 'et/pretty-format-c-auto' · 1b3d14c1
      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)`
      1b3d14c1
    • J
      Merge branch 'sb/submodule-recommend-shallowness' · 3807098c
      Junio C Hamano 提交于
      An upstream project can make a recommendation to shallowly clone
      some submodules in the .gitmodules file it ships.
      
      * sb/submodule-recommend-shallowness:
        submodule update: learn `--[no-]recommend-shallow` option
        submodule-config: keep shallow recommendation around
      3807098c
    • J
      Merge branch 'sb/submodule-misc-cleanups' · de76eb69
      Junio C Hamano 提交于
      Minor simplification.
      
      * sb/submodule-misc-cleanups:
        submodule update: make use of the existing fetch_in_submodule function
      de76eb69
    • J
      Merge branch 'ew/daemon-socket-keepalive' · 349e0c1a
      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
      349e0c1a
    • J
      Merge branch 'ah/no-verify-signature-with-pull-rebase' · 73bc4b49
      Junio C Hamano 提交于
      "git pull --rebase --verify-signature" learned to warn the user
      that "--verify-signature" is a no-op when rebasing.
      
      * ah/no-verify-signature-with-pull-rebase:
        pull: warn on --verify-signatures with --rebase
      73bc4b49
    • J
      Merge branch 'ew/fast-import-unpack-limit' · 8d6a7e9a
      Junio C Hamano 提交于
      "git fast-import" learned the same performance trick to avoid
      creating too small a packfile as "git fetch" and "git push" have,
      using *.unpackLimit configuration.
      
      * ew/fast-import-unpack-limit:
        fast-import: invalidate pack_id references after loosening
        fast-import: implement unpack limit
      8d6a7e9a
  5. 14 6月, 2016 1 次提交
  6. 13 6月, 2016 1 次提交
    • J
      Merge tag 'l10n-2.9.0-rc0' of git://github.com/git-l10n/git-po · 25c7aeb1
      Junio C Hamano 提交于
      l10n-2.9.0-rc0
      
      * tag 'l10n-2.9.0-rc0' of git://github.com/git-l10n/git-po:
        l10n: ko.po: Update Korean translation
        l10n: ru.po: update Russian translation
        l10n: de.po: translate 104 new messages
        l10n: zh_CN: review for git v2.9.0 l10n round 1
        l10n: zh_CN: for git v2.9.0 l10n round 1
        l10n: pt_PT: update Portuguese translation
        l10n: pt_PT: update according to git-gui glossary
        l10n: pt_PT: merge git.pot file
        l10n: Updated Bulgarian translation of git (2597t,0f,0u)
        l10n: sv.po: Update Swedish translation (2597t0f0u)
        l10n: fr.po v2.9.0rnd1
        l10n: Updated Vietnamese translation (2597t)
        l10n: git.pot: v2.9.0 round 1 (104 new, 37 removed)
        l10n: fr.po Fixed grammar mistake
      25c7aeb1
  7. 12 6月, 2016 1 次提交
  8. 11 6月, 2016 8 次提交
  9. 10 6月, 2016 1 次提交
  10. 09 6月, 2016 1 次提交
  11. 07 6月, 2016 2 次提交