git-p4: Jobs and skipSubmitEdit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've written a git prepare-commit-msg hook to do what the Perforce
JobsView would essentially do, so I can include the jobs directly in
my git commit message, and then use git-p4.skipSubmitEdit=true, so I
can just push things into Perforce directly from git without ever
being prompted by Perforce.

Problem is that this doesn't work, because git-p4 tabs in the entire
commit message to put it in the "Description:" section of the Perforce
changelist, and my "Jobs:" ends up tabbed in, and it it required by
Perforce to be at the beginning of the line.  The submit ends up
failing, because "Jobs:" is required.  I am forced to turn off
skipSubmitEdit and edit the message to remove the tab from the "Jobs:"
line each commit.

Is there any option to make this work right, or does the git-p4 not
support this?

Thanks,

Mike
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]