Merge branch 'js/rebase-stat-unrelated-fix'
commit881d72eff8b0d23c8edc6f8d9673f8daafaace6f
authorJunio C Hamano <gitster@pobox.com>
Sat, 1 Dec 2018 12:41:42 +0000 (1 21:41 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 Dec 2018 12:41:42 +0000 (1 21:41 +0900)
tree9858e8976d76dce70351bced3cc5edb6ea3cf1bb
parent945f6bd1ce99b3c3576d52778055086caaed1fb8
parent8797f0f008722537f56ed0bf16ebec45682b7497
Merge branch 'js/rebase-stat-unrelated-fix'

"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
builtin/rebase.c
t/t3406-rebase-message.sh