1. 12 7月, 2016 16 次提交
    • J
      Merge branch 'jc/t2300-setup' into maint · 3a30c14b
      Junio C Hamano 提交于
      Portability fix for Windows.
      
      * jc/t2300-setup:
        t2300: "git --exec-path" is not usable in $PATH on Windows as-is
      3a30c14b
    • J
      Merge branch 'cb/t7810-test-label-fix' into maint · 438d4e75
      Junio C Hamano 提交于
      Test clean-up.
      
      * cb/t7810-test-label-fix:
        t7810: fix duplicated test title
      438d4e75
    • J
      Merge branch 'sb/t5614-modernize' into maint · 3e69d1b6
      Junio C Hamano 提交于
      Test clean-up.
      
      * sb/t5614-modernize:
        t5614: don't use subshells
      3e69d1b6
    • J
      Merge branch 'jn/preformatted-doc-url' into maint · 9f0aa036
      Junio C Hamano 提交于
      The top level documentation "git help git" still pointed at the
      documentation set hosted at now-defunct google-code repository.
      Update it to point to https://git.github.io/htmldocs/git.html
      instead.
      
      * jn/preformatted-doc-url:
        doc: git-htmldocs.googlecode.com is no more
      9f0aa036
    • J
      Merge branch 'ao/p4-has-branch-prefix-fix' into maint · 8e3e28b2
      Junio C Hamano 提交于
      A bug, which caused "git p4" while running under verbose mode to
      report paths that are omitted due to branch prefix incorrectly, has
      been fixed; the command said "Ignoring file outside of prefix" for
      paths that are _inside_.
      
      * ao/p4-has-branch-prefix-fix:
        git-p4: correct hasBranchPrefix verbose output
      8e3e28b2
    • J
      Merge branch 'js/perf-on-apple' into maint · ce22ea22
      Junio C Hamano 提交于
      t/perf needs /usr/bin/time with GNU extension; the invocation of it
      is updated to "gtime" on Darwin.
      
      * js/perf-on-apple:
        perf: accommodate for MacOSX
      ce22ea22
    • J
      Merge branch 'ak/t7800-wo-readlink' into maint · c4cdde45
      Junio C Hamano 提交于
      One among four invocations of readlink(1) in our test suite has
      been rewritten so that the test can run on systems without the
      command (others are in valgrind test framework and t9802).
      
      * ak/t7800-wo-readlink:
        t7800: readlink may not be available
      c4cdde45
    • J
      Merge branch 'jk/tzoffset-fix' into maint · 0c72d6da
      Junio C Hamano 提交于
      The internal code used to show local timezone offset is not
      prepared to handle timestamps beyond year 2100, and gave a
      bogus offset value to the caller.  Use a more benign looking
      +0000 instead and let "git log" going in such a case, instead
      of aborting.
      
      * jk/tzoffset-fix:
        local_tzoffset: detect errors from tm_to_time_t
        t0006: test various date formats
        t0006: rename test-date's "show" to "relative"
      0c72d6da
    • J
      Merge branch 'js/mingw-parameter-less-c-functions' into maint · 76180a2b
      Junio C Hamano 提交于
      Some platform-specific code had non-ANSI strict declarations of C
      functions that do not take any parameters, which has been
      corrected.
      
      * js/mingw-parameter-less-c-functions:
        mingw: let the build succeed with DEVELOPER=1
      76180a2b
    • J
      Merge branch 'lc/shell-default-value-noexpand' into maint · 5220b758
      Junio C Hamano 提交于
      Fix unnecessarily waste in the idiomatic use of ': ${VAR=default}'
      to set the default value, without enclosing it in double quotes.
      
      * lc/shell-default-value-noexpand:
        sh-setup: enclose setting of ${VAR=default} in double-quotes
      5220b758
    • J
      Merge branch 'sb/clone-shallow-passthru' into maint · 1a88ca99
      Junio C Hamano 提交于
      Fix an unintended regression in v2.9 that breaks "clone --depth"
      that recurses down to submodules by forcing the submodules to also
      be cloned shallowly, which many server instances that host upstream
      of the submodules are not prepared for.
      
      * sb/clone-shallow-passthru:
        clone: do not let --depth imply --shallow-submodules
      1a88ca99
    • J
      Merge branch 'mg/signature-doc' into maint · 4212e483
      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
      4212e483
    • J
      Merge branch 'jk/bisect-show-tree' into maint · b8530304
      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
      b8530304
    • J
      Merge branch 'km/fetch-do-not-free-remote-name' into maint · 14012368
      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
      14012368
    • J
      Merge branch 'nd/graph-width-padded' into maint · 5f30bb4a
      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)'
      5f30bb4a
    • J
      Merge branch 'jk/add-i-diff-compact-heuristics' into maint · 52debb68
      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
      52debb68
  2. 07 7月, 2016 18 次提交
  3. 28 6月, 2016 5 次提交
    • J
      Start preparing for 2.9.1 · 2ff7dff0
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2ff7dff0
    • 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
  4. 23 6月, 2016 1 次提交
    • J
      t2300: "git --exec-path" is not usable in $PATH on Windows as-is · 412b9a16
      Johannes Schindelin 提交于
      The "git" command prepends the exec-path to the PATH environment
      variable for processes it spawns.  That is how ". git-sh-setup" in
      our scripted Porcelains can find the dot-sourced file in the
      exec-path location that is not usually on user's PATH.
      
      When t2300 runs, because it is not spawned by the "git" command, the
      scriptlet being tested did not run with a realistic setting of PATH
      environment.  It lacked the exec-path on the PATH, and failed to
      find the dot-sourced file.  A recent update to t2300 attempted to
      fix this, with "PATH=$(git --exec-path):$PATH", which has been the
      recommended way around v1.6.0 days (a script whose original was
      written before that release that survives to this day is likely to
      have such a line).
      
      However, the "git --exec-path" command outputs C:\path\to\exec\dir
      (not /c/path/to/exec/dir) on Windows; the recent update failed to
      consider the problem that comes from it.
      
      Even though Git itself, when doing the equivalent internally, does
      so in a platform native way (i.e. on Windows, C:\path\to\exec\dir is
      prepended to the existing value of %PATH% using ';' as a component
      separator), the result is further massaged by bash and gets turned
      into $PATH that uses /c/path/to/exec/dir with ':' separating the
      components, which is the form understood by bash, so scripted
      Porcelains find commands from PATH correctly.
      
      An end user script written in shell, however, cannot prepend
      "C:\path\to\exec\dir:" to the existing value of $PATH and expect
      bash to magically turn it into the form it understands.  In other
      words, "PATH=$(git --exec-path):$PATH" does not work as an emulation
      of what "Git" internally does to the PATH on Windows.
      
      To correctly emulate how exec-path is prepended to the PATH
      environment internally on Windows, we'd need to convert
      C:\git-sdk-64\usr\src\git to at least /c\git-sdk-64\usr\src\git
      ourselves before prepending it to PATH.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      412b9a16