[PATCH/RFC v4] git-p4: warn if git authorship won't be retained
- From
Luke Diamand <luke@diamand.org>
- Date
- May 11, 2011, 00:26 UTC
- Message-ID
- <1305073561-24910-1-git-send-email-luke@diamand.org>
Updated version of git-p4 authorship warning suggested by Junio, incorporating fixes for problems in v2 pointed out by Peter Wyckoff.
In the previous version of this patch I forgot to add an && in the test harness.
Pete suggested doing "grep -q" however it turns out that this doesn't work - git-p4 explodes when it tries to do stdout.flush() at line 1588 in importChanges(). I can only imagine that grep -q does something very subtle to stdin.
Luke Diamand (1): git-p4: warn if git authorship won't be retained
contrib/fast-import/git-p4 | 33 +++++++++++++++++++++++++++- contrib/fast-import/git-p4.txt | 7 ++++++ t/t9800-git-p4.sh | 46 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 2 deletions(-)