Doc: 'replace' merge and non-merge commits
authorPhilip Oakley <philipoakley@iee.org>
Sun, 8 Sep 2013 12:10:44 +0000 (13:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 15:16:30 +0000 (08:16 -0700)
Merges are often treated as special case objects so tell users that
they are not special here.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-replace.txt
index 414000ef7d74e96dae5db7c86fd6bffc63b353cd..f373ab48d4d575d847408e333b5bfb747d1a75a2 100644 (file)
@@ -26,6 +26,7 @@ This restriction can be bypassed using `-f`.
 Unless `-f` is given, the 'replace' reference must not yet exist.
 
 There is no other restriction on the replaced and replacement objects.
+Merge commits can be replaced by non-merge commits and vice versa.
 
 Replacement references will be used by default by all Git commands
 except those doing reachability traversal (prune, pack transfer and