Code

fast-import: Document the effect of "merge" with no "from" in a commit
authorEyvind Bernhardsen <eyvind-git@orakel.ntnu.no>
Fri, 21 Mar 2008 15:25:18 +0000 (16:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 23 Mar 2008 06:20:01 +0000 (23:20 -0700)
commit9b33fa08b2d9507f8ffefe7649a59d23b4176185
treeee851120df148f20025d1fd27912ee94fb9ee79e
parent3644da7214055d2e84223b45dfca42d437fb7ea7
fast-import: Document the effect of "merge" with no "from" in a commit

The fast-import documentation currently does not document the behaviour
of "merge" when there is no "from" in a commit.  This patch adds a
description of what happens: the commit is created with a parent, but
no files.  This behaviour is equivalent to "from" followed by
"filedeleteall".

Signed-off-by: Eyvind Bernhardsen <eyvind-git@orakel.ntnu.no>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fast-import.txt