1. 04 12月, 2018 1 次提交
  2. 01 12月, 2018 14 次提交
    • J
      Git 2.20-rc2 · 8a0ba68f
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8a0ba68f
    • J
      Merge branch 'gh/diff-raw-has-no-ellipses' · 15cc2da0
      Junio C Hamano 提交于
      "git diff --raw" lost ellipses to adjust the output columns for
      some time now, but the documentation still showed them.
      
      * gh/diff-raw-has-no-ellipses:
        doc: update diff-format.txt for removed ellipses in --raw
      15cc2da0
    • J
      Merge branch 'ss/msvc-strcasecmp' · c0e286a3
      Junio C Hamano 提交于
      MSVC update.
      
      * ss/msvc-strcasecmp:
        msvc: directly use MS version (_stricmp) of strcasecmp
      c0e286a3
    • J
      Merge branch 'sg/test-BUG' · 62337049
      Junio C Hamano 提交于
      test framework has been updated to make a bug in the test script
      (as opposed to bugs in Git that are discovered by running the
      tests) stand out more prominently.
      
      * sg/test-BUG:
        tests: send "bug in the test script" errors to the script's stderr
      62337049
    • J
      Merge branch 'sg/test-cmp-rev' · 152cb0cd
      Junio C Hamano 提交于
      Test framework update.
      
      * sg/test-cmp-rev:
        test-lib-functions: make 'test_cmp_rev' more informative on failure
      152cb0cd
    • J
      Merge branch 'ab/push-example-in-doc' · 2c23f0b6
      Junio C Hamano 提交于
      An error message that sugggests how to give correct arguments to
      "git push" has been updated.
      
      * ab/push-example-in-doc:
        push: change needlessly ambiguous example in error
      2c23f0b6
    • J
      Merge branch 'rt/rebase-in-c-message-fix' · 544d114e
      Junio C Hamano 提交于
      * rt/rebase-in-c-message-fix:
        builtin/rebase.c: remove superfluous space in messages
      544d114e
    • J
      Merge branch 'sg/daemon-test-signal-fix' · 97b6d637
      Junio C Hamano 提交于
      Test fix.
      
      * sg/daemon-test-signal-fix:
        t/lib-git-daemon: fix signal checking
      97b6d637
    • J
      Merge branch 'ma/reset-doc-rendering-fix' · 1efd0e84
      Junio C Hamano 提交于
      Doc updates.
      
      * ma/reset-doc-rendering-fix:
        git-reset.txt: render literal examples as monospace
        git-reset.txt: render tables correctly under Asciidoctor
      1efd0e84
    • J
      Merge branch 'ab/replace-graft-with-replace-advice' · 671e629d
      Junio C Hamano 提交于
      The advice message to tell the user to migrate an existing graft
      file to the replace system when a graft file was read was shown
      even when "git replace --convert-graft-file" command, which is the
      way the message suggests to use, was running, which made little
      sense.
      
      * ab/replace-graft-with-replace-advice:
        advice: don't pointlessly suggest --convert-graft-file
      671e629d
    • J
      Merge branch 'js/rebase-stat-unrelated-fix' · 881d72ef
      Junio C Hamano 提交于
      "git rebase --stat" to transplant a piece of history onto a totally
      unrelated history were not working before and silently showed wrong
      result.  With the recent reimplementation in C, it started to instead
      die with an error message, as the original logic was not prepared
      to cope with this case.  This has now been fixed.
      
      * js/rebase-stat-unrelated-fix:
        rebase --stat: fix when rebasing to an unrelated history
      881d72ef
    • J
      Merge branch 'js/rebase-reflog-action-fix' · 945f6bd1
      Junio C Hamano 提交于
      "git rebase" reimplemented recently in C accidentally changed the
      way reflog entries are recorded (earlier "rebase -i" identified the
      entries it leaves with "rebase -i", but the new version always
      marks them with "rebase").  This has been corrected.
      
      * js/rebase-reflog-action-fix:
        rebase: fix GIT_REFLOG_ACTION regression
      945f6bd1
    • J
      Merge branch 'jc/format-patch-range-diff-fix' · d32fa3c6
      Junio C Hamano 提交于
      "git format-patch --range-diff" by mistake passed the diff options
      used to generate the primary output of the command to the
      range-diff machinery, which caused the range-diff in the cover
      letter to include fairly useless "--stat" output.  This has been
      corrected by forcing a non-customizable default formatting options
      on the range-diff machinery when driven by format-patch.
      
      * jc/format-patch-range-diff-fix:
        format-patch: do not let its diff-options affect --range-diff
      d32fa3c6
    • R
      builtin/rebase.c: remove superfluous space in messages · eff199a6
      Ralf Thielow 提交于
      The whitespace breakages in these messages were introduced while
      reimplementing the subcommand in C.  Match these messages to those
      in the original scripted version.
      Signed-off-by: NRalf Thielow <ralf.thielow@gmail.com>
      Acked-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      eff199a6
  3. 30 11月, 2018 3 次提交
    • J
      rebase --stat: fix when rebasing to an unrelated history · 8797f0f0
      Johannes Schindelin 提交于
      When rebasing to a commit history that has no common commits with the
      current branch, there is no merge base. In diffstat mode, this means
      that we cannot compare to the merge base, but we have to compare to the
      empty tree instead.
      
      Also, if running in verbose diffstat mode, we should not output
      
      	Changes from <merge-base> to <onto>
      
      as that does not make sense without any merge base.
      
      Note: neither scripted nor built-in versoin of `git rebase` were
      prepared for this situation well. We use this opportunity not only to
      fix the bug(s), but also to make both versions' output consistent in
      this instance. And add a regression test to keep this working in all
      eternity.
      Reported-by: NÆvar Arnfjörð Bjarmason <avarab@gmail.com>
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8797f0f0
    • J
      rebase: fix GIT_REFLOG_ACTION regression · 13a5a9f0
      Johannes Schindelin 提交于
      The scripted version of "rebase" honored the `GIT_REFLOG_ACTION`,
      and some automation scripts expected the reflog entries to be
      prefixed with "rebase -i", not "rebase", after running "rebase -i".
      This regressed in the reimplementation in C.
      
      Fix that, and add a regression test, both with `GIT_REFLOG_ACTION`
      set and unset.
      
      Note: the reflog message for "rebase finished" did *not* honor
      GIT_REFLOG_ACTION, and as we are very late in the v2.20.0-rcN phase,
      we leave that bug for later (as it seems that that bug has been with
      us from the very beginning).
      
      Reported by Ian Jackson.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      13a5a9f0
    • J
      format-patch: do not let its diff-options affect --range-diff · d8981c3f
      Junio C Hamano 提交于
      Stop leaking how the primary output of format-patch is customized to
      the range-diff machinery and instead let the latter use its own
      "reasonable default", in order to correct the breakage introduced by
      a5170794 ("Merge branch 'ab/range-diff-no-patch'", 2018-11-18) on
      the 'master' front.  "git format-patch --range-diff..." without any
      weird diff option started to include the "range-diff --stat" output,
      which is rather useless right now, that made the whole thing
      unusable and this is probably the least disruptive way to whip the
      codebase into a shippable shape.
      
      We may want to later make the range-diff driven by format-patch more
      configurable, but that would have to wait until we have a good
      design.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d8981c3f
  4. 29 11月, 2018 7 次提交
  5. 27 11月, 2018 1 次提交
    • S
      t/lib-git-daemon: fix signal checking · 4c2eb064
      SZEDER Gábor 提交于
      Test scripts checking 'git daemon' stop the daemon with a TERM signal,
      and the 'stop_git_daemon' helper checks the daemon's exit status to
      make sure that it indeed died because of that signal.
      
      This check is bogus since 03c39b34 (t/lib-git-daemon: use
      test_match_signal, 2016-06-24), for two reasons:
      
        - Right after killing 'git daemon', 'stop_git_daemon' saves its exit
          status in a variable, but since 03c39b34 the condition checking
          the exit status looks at '$?', which at this point is not the exit
          status of 'git daemon', but that of the variable assignment, i.e.
          it's always 0.
      
        - The unexpected exit status should abort the whole test script with
          'error', but it doesn't, because 03c39b34 forgot to negate
          'test_match_signal's exit status in the condition.
      
      This patch fixes both issues.
      Signed-off-by: NSZEDER Gábor <szeder.dev@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4c2eb064
  6. 26 11月, 2018 5 次提交
  7. 24 11月, 2018 2 次提交
  8. 21 11月, 2018 7 次提交