]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: commit time should be most recent p4 change time
authorPete Wyckoff <pw@padd.com>
Sun, 31 Jul 2011 13:45:55 +0000 (09:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2011 17:24:20 +0000 (10:24 -0700)
commit4e2e6ce45047fe2713546127f3d1ded576e1bf7e
tree75d2b396c3496cb9372309d05ead0f318b157580
parenteab30818a9d0b874f9b339374349043f2c4aee5d
git-p4: commit time should be most recent p4 change time

When importing a repo, the time on the initial commit had been
just "now".  But this causes problems when trying to share among
git-p4 repos that were created identically, although at different
times.  Instead, use the time in the top-most p4 change as the
time for the git import commit.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Acked-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
t/t9800-git-p4.sh