]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9829-git-p4-jobs.sh
git-p4: add P4 jobs to git commit message
authorJan Durovec <jan.durovec@gmail.com>
Tue, 19 Apr 2016 19:49:41 +0000 (19:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Apr 2016 20:41:00 +0000 (13:41 -0700)
commit26e6a27d6965c9c5ee4f59ae9a97cef893b52686
tree344a17b938461d9e8bfd85475ba8d0759f45b035
parenta98772c63fa666e9239b0cdbd790daf7af503b75
git-p4: add P4 jobs to git commit message

When migrating from Perforce to git the information about P4 jobs
associated with P4 changelists is lost.

Having these jobs listed on messages of related git commits enables smooth
migration for projects that take advantage of e.g. JIRA integration
(which uses jobs on Perforce side and parses commit messages on git side).

The jobs are added to the message in the same format as is expected when
migrating in the reverse direction.

Signed-off-by: Jan Durovec <jan.durovec@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
t/lib-git-p4.sh
t/t9829-git-p4-jobs.sh [new file with mode: 0755]