1. 06 12月, 2018 1 次提交
  2. 03 12月, 2018 1 次提交
  3. 02 12月, 2018 12 次提交
  4. 01 12月, 2018 21 次提交
  5. 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
  6. 29 11月, 2018 2 次提交