Files
git/builtin
Christian Couder 25a05a8cae replace: check mergetags when using --graft
When using --graft, with a mergetag in the original
commit, we should check that the commit pointed to by
the mergetag is still a parent of then new commit we
create, otherwise the mergetag could be misleading.

If the commit pointed to by the mergetag is no more
a parent of the new commit, we could remove the
mergetag, but in this case there is a good chance
that the title or other elements of the commit might
also be misleading. So let's just error out and
suggest to use --edit instead on the commit.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-07-21 12:06:49 -07:00
..
2014-07-02 12:53:02 -07:00
2014-06-06 11:23:04 -07:00
2014-07-02 12:51:50 -07:00
2014-06-16 10:07:15 -07:00
2014-03-14 14:25:31 -07:00
2014-01-17 12:21:20 -08:00
2014-06-13 12:07:47 -07:00
2014-06-25 11:47:36 -07:00
2014-07-02 12:53:02 -07:00
2014-07-02 12:53:02 -07:00
2014-06-03 12:06:41 -07:00
2014-06-16 12:17:58 -07:00
2014-04-30 10:30:02 -07:00
2014-07-02 12:53:02 -07:00
2014-01-17 12:21:20 -08:00