summaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2015-08-27 08:18:58 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-28 12:02:58 -0700
commitb43702ac56e602d5163ef662fb9caf382da90b94 (patch)
tree7a191b3f6d5ef25f03b5c00ea8de43c327d3dbbc /notes.c
parentgit-p4: do not terminate creating tag for unknown commit (diff)
downloadtgif-b43702ac56e602d5163ef662fb9caf382da90b94.tar.xz
git-p4: fix P4 label import for unprocessed commits
With --detect-labels enabled, git-p4 will try to create tags using git fast-import by writing a "tag" clause to the fast-import stream. If the commit that the tag references has not yet actually been processed by fast-import, then the tag can't be created and git-p4 fails to import the P4 label. Teach git-p4 to use fast-import "marks" when creating tags which reference commits created during the current run of the program. Commits created before the current run are still referenced in the old way using a normal git commit. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions