Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • git-p4 issue · Michael Horowitz <hidden> · 2016-06-15

git-p4 issue

From: Michael Horowitz <hidden>
Date: 2016-06-15 22:50:39

Hello,

I ran into an issue with git-p4 and was given a fix described below by
someone assisting me, but I am not a Python developer...

...
By looking at the git-p4 code turns out that in the prepareLogMessage
function, everything between the Description and Files section of the
p4 change specification is skipped. The Jobs section happens to be
between Description and Files...

Good thing the fix is simple, in the prepareLogMessage function, just add this:

    if inDescriptionSection:
-       if line.startswith("Files:"):
+       if line.startswith("Files:") or line.startswith("Jobs:"):

And you should now see your jobs appear in the p4 change specification.
...

Given the simple nature of it, I was hoping someone could help get
this fixed in the main git distro.

-- 
Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help