fast-export: add support for --import-marks-if-exists
commit208d69246ed2a7f66dd8357771eb7afe83e80a43
authorElijah Newren <newren@gmail.com>
Thu, 3 Oct 2019 20:27:06 +0000 (3 13:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Oct 2019 22:33:21 +0000 (4 07:33 +0900)
tree3179288448b21758948f71088bf78a45283f6493
parentb8f50e5b60e2654fcbf5f72b682635ee2e624923
fast-export: add support for --import-marks-if-exists

fast-import has support for both an --import-marks flag and an
--import-marks-if-exists flag; the latter of which will not die() if the
file does not exist.  fast-export only had support for an --import-marks
flag; add an --import-marks-if-exists flag for consistency.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fast-export.c
t/t9350-fast-export.sh