git-p4: Verify detection of "empty" branch creation
authorVitor Antunes <vitor.hda@gmail.com>
Sat, 26 May 2012 09:56:05 +0000 (10:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2012 17:46:00 +0000 (10:46 -0700)
commitad71f6617e7605315a225a1fce5e6e6a12042d04
tree1517be74c8951fb3b69ae769b8a893f89afe2204
parent9e826dfd57cb6f8d2a2f78c42b8153724dc2ea0e
git-p4: Verify detection of "empty" branch creation

Current implementation of new branch parent detection works on the
principle that the new branch is a complete integration, with no
changes, of the original files.
This test shows this deficiency in the particular case when the new
branch is created from a subset of the original files.

Signed-off-by: Vitor Antunes <vitor.hda@gmail.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9801-git-p4-branch.sh