1. 24 11月, 2016 4 次提交
    • J
      Merge branch 'jc/setup-cleanup-fix' · c34a7daa
      Junio C Hamano 提交于
      "git archive" and "git mailinfo" stopped reading from local
      configuration file with a recent update.
      
      * jc/setup-cleanup-fix:
        archive: read local configuration
        mailinfo: read local configuration
      c34a7daa
    • J
      Merge branch 'jt/trailer-with-cruft' · 6a2b569c
      Junio C Hamano 提交于
      Doc update.
      
      * jt/trailer-with-cruft:
        doc: mention user-configured trailers
      6a2b569c
    • J
      Merge branch 'js/rebase-i-commentchar-fix' · bd53f38d
      Junio C Hamano 提交于
      "git rebase -i" did not work well with core.commentchar
      configuration variable for two reasons, both of which have been
      fixed.
      
      * js/rebase-i-commentchar-fix:
        rebase -i: handle core.commentChar=auto
        stripspace: respect repository config
        rebase -i: highlight problems with core.commentchar
      bd53f38d
    • J
      Merge branch 'jc/for-each-ref-head-segfault-fix' · 48e9ad5e
      Junio C Hamano 提交于
      Using a %(HEAD) placeholder in "for-each-ref --format=" option
      caused the command to segfault when on an unborn branch.
      
      * jc/for-each-ref-head-segfault-fix:
        for-each-ref: do not segv with %(HEAD) on an unborn branch
      48e9ad5e
  2. 23 11月, 2016 4 次提交
    • J
      Merge tag 'l10n-2.11.0-rnd2' of git://github.com/git-l10n/git-po · 1e371813
      Junio C Hamano 提交于
      l10n-2.11.0-rnd2
      
      * tag 'l10n-2.11.0-rnd2' of git://github.com/git-l10n/git-po:
        l10n: Fixed typo of git fetch-pack command
        l10n: git.pot: v2.11.0 round 2 (1 new, 1 removed)
        l10n: zh_CN: for git v2.11.0 l10n round 1
        l10n: pt_PT: update Portuguese translation
        l10n: fr.po fix grammar mistakes
        l10n: fr.po v2.11.0_rnd1
        l10n: sv.po: Update Swedish translation (2913t0f0u)
        l10n: vi.po: Updated translation to v2.11.0 (2913t)
        l10n: ko.po: Update Korean translation
        l10n: git.pot: v2.11.0 round 1 (209 new, 53 removed)
        l10n: ru.po: update Russian translation
      1e371813
    • J
      Merge branch 'js/prepare-sequencer' · 7f1dc9f4
      Junio C Hamano 提交于
      Fix for an error message string.
      
      * js/prepare-sequencer:
        i18n: fix unmatched single quote in error message
      7f1dc9f4
    • J
      archive: read local configuration · eb0224c6
      Junio C Hamano 提交于
      Since b9605bc4 ("config: only read .git/config from configured
      repos", 2016-09-12), we do not read from ".git/config" unless we
      know we are in a repository.  "git archive" however didn't do the
      repository discovery and instead relied on the old behaviour.
      
      Teach the command to run a "gentle" version of repository discovery
      so that local configuration variables are honoured.
      
      [jc: stole tests from peff]
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      eb0224c6
    • J
      mailinfo: read local configuration · 3f0ec068
      Junio C Hamano 提交于
      Since b9605bc4 ("config: only read .git/config from configured
      repos", 2016-09-12), we do not read from ".git/config" unless we
      know we are in a repository.  "git mailinfo" however didn't do the
      repository discovery and instead relied on the old behaviour.  This
      was mostly OK because it was merely run as a helper program by other
      porcelain scripts that first chdir's up to the root of the working
      tree.
      
      Teach the command to run a "gentle" version of repository discovery
      so that local configuration variables like mailinfo.scissors are
      honoured.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3f0ec068
  3. 22 11月, 2016 8 次提交
  4. 21 11月, 2016 1 次提交
  5. 19 11月, 2016 1 次提交
  6. 18 11月, 2016 4 次提交
  7. 15 11月, 2016 1 次提交
  8. 14 11月, 2016 2 次提交
  9. 12 11月, 2016 13 次提交
    • J
      Git 2.11.0-rc1 · 3ab22813
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3ab22813
    • J
      Merge branch 'rt/fetch-pack-error-message-fix' · 37181175
      Junio C Hamano 提交于
      An error message in fetch-pack executable that was newly marked for
      translation was misspelt, which has been fixed.
      
      * rt/fetch-pack-error-message-fix:
        fetch-pack.c: correct command at the beginning of an error message
      37181175
    • J
      Merge branch 'ps/common-info-doc' · 12133d52
      Junio C Hamano 提交于
      Doc fix.
      
      * ps/common-info-doc:
        doc: fix location of 'info/' with $GIT_COMMON_DIR
      12133d52
    • J
      Merge branch 'js/pwd-var-vs-pwd-cmd-fix' · 7f2a3921
      Junio C Hamano 提交于
      Last minute fixes to two fixups merged to 'master' recently.
      
      * js/pwd-var-vs-pwd-cmd-fix:
        t0021, t5615: use $PWD instead of $(pwd) in PATH-like shell variables
      7f2a3921
    • J
      Merge branch 'ls/macos-update' · 332fd565
      Junio C Hamano 提交于
      Portability update and workaround for builds on recent Mac OS X.
      
      * ls/macos-update:
        travis-ci: disable GIT_TEST_HTTPD for macOS
        Makefile: set NO_OPENSSL on macOS by default
      332fd565
    • J
      Merge branch 'js/prepare-sequencer' · 5de732f6
      Junio C Hamano 提交于
      Silence a clang warning introduced by a recently graduated topic.
      
      * js/prepare-sequencer:
        sequencer: silence -Wtautological-constant-out-of-range-compare
      5de732f6
    • J
      Merge branch 'ls/filter-process' · b18f6a00
      Junio C Hamano 提交于
      Test portability improvements and optimization for an
      already-graduated topic.
      
      * ls/filter-process:
        t0021: remove debugging cruft
      b18f6a00
    • J
      Merge branch 'as/merge-attr-sleep' · f5a8ad4c
      Junio C Hamano 提交于
      Fix for a racy false-positive test failure.
      
      * as/merge-attr-sleep:
        t6026: clarify the point of "kill $(cat sleep.pid)"
        t6026: ensure that long-running script really is
        Revert "t6026-merge-attr: don't fail if sleep exits early"
        Revert "t6026-merge-attr: ensure that the merge driver was called"
        t6026-merge-attr: ensure that the merge driver was called
        t6026-merge-attr: don't fail if sleep exits early
      f5a8ad4c
    • R
      fetch-pack.c: correct command at the beginning of an error message · dfbfb9f3
      Ralf Thielow 提交于
      One error message in fetch-pack.c uses 'git fetch_pack' at the beginning
      which is not a git command.  Use 'git fetch-pack' instead.
      Signed-off-by: NRalf Thielow <ralf.thielow@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dfbfb9f3
    • J
      t0021: remove debugging cruft · a0d8b60d
      Junio C Hamano 提交于
      The redirection of the standard error stream to a temporary file is
      a leftover cruft during debugging.  Remove it.
      
      Besides, it is reported by folks on the Windows that the test is
      flaky with this redirection; somebody gets confused and this
      merely-redirected-to file gets marked as delete-pending by git.exe
      and makes it finish with a non-zero exit status when "git checkout"
      finishes.  Windows folks may want to figure that one out, but for
      the purpose of this test, it shouldn't become a show-stopper.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a0d8b60d
    • J
      t6026: clarify the point of "kill $(cat sleep.pid)" · fdf4f6c7
      Johannes Sixt 提交于
      We lengthened the time the leftover process sleeps in the previous
      commit to make sure it will be there while 'git merge' runs and
      finishes.  It therefore needs to be killed before leaving the test.
      And it needs to be killed even when 'git merge' fails, so it has to
      be triggered via test_when_finished mechanism.
      
      Explain all that in a large comment, and move the use site of
      test_when_finished to immediately before 'git merge' invocation,
      where the process is spawned.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fdf4f6c7
    • J
      t0021, t5615: use $PWD instead of $(pwd) in PATH-like shell variables · 71dd5047
      Johannes Sixt 提交于
      We have to use $PWD instead of $(pwd) because on Windows the latter
      would add a C: style path to bash's Unix-style $PATH variable, which
      becomes confused by the colon after the drive letter. ($PWD is a
      Unix-style path.)
      
      In the case of GIT_ALTERNATE_OBJECT_DIRECTORIES, bash on Windows
      assembles a Unix-style path list with the colon as separators. It
      converts the value to a Windows-style path list with the semicolon as
      path separator when it forwards the variable to git.exe. The same
      confusion happens when bash's original value is contaminated with
      Windows style paths.
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      71dd5047
    • P
      doc: fix location of 'info/' with $GIT_COMMON_DIR · 3285b7ba
      Patrick Steinhardt 提交于
      With the introduction of the $GIT_COMMON_DIR variable, the
      repository layout manual was changed to reflect the location for
      many files in case the variable is set. While adding the new
      locations, one typo snuck in regarding the location of the
      'info/' folder, which is falsely claimed to reside at
      "$GIT_COMMON_DIR/index".
      
      Fix the typo to point to "$GIT_COMMON_DIR/info/" instead.
      Signed-off-by: NPatrick Steinhardt <ps@pks.im>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3285b7ba
  10. 11 11月, 2016 2 次提交
    • J
      t6026: ensure that long-running script really is · a7d6bcc3
      Johannes Schindelin 提交于
      When making sure that background tasks are cleaned up in 5babb5bd
      (t6026-merge-attr: clean up background process at end of test case,
      2016-09-07), we considered to let the background task sleep longer, just
      to be certain that it will still be running when we want to kill it
      after the test.
      
      Sadly, the assumption appears not to hold true that the test case passes
      quickly enough to kill the background task within a second.
      
      Simply increase it to an hour. No system can be possibly slow enough to
      make above-mentioned assumption incorrect.
      
      Reported by Andreas Schwab.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a7d6bcc3
    • J
      Revert "t6026-merge-attr: don't fail if sleep exits early" · b36b716c
      Junio C Hamano 提交于
      This reverts commit 734fde2d.
      
      The point of the test is that the stray process was still running
      when 'git merge' did its thing through its completion, so a failure
      to "kill" it means we didn't give a condition to the test to trigger
      a possible future breakage.  Appending "|| :" to the "kill" is
      sweeping a test-bug under the rug.
      b36b716c