git-p4: add option to keep empty commits
authorLars Schneider <larsxschneider@gmail.com>
Tue, 8 Dec 2015 09:36:22 +0000 (10:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Dec 2015 18:45:02 +0000 (10:45 -0800)
A changelist that contains only excluded files due to a client spec was
imported as an empty commit. Fix that issue by ignoring these commits.
Add option "git-p4.keepEmptyCommits" to make the previous behavior
available.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Helped-by: Pete Harlan
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found