{"thread":{"id":"26595","subject":"git-p4 issue","startedAt":"2011-02-24T21:12:31Z","lastAt":"2011-02-24T21:12:31Z","messageCount":1,"participants":["Michael Horowitz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"162194","messageId":"AANLkTi=2evJB9Pffoo43bB6+qjUsG71t4o=pqHcu2Hzu@mail.gmail.com","threadId":"26595","inReplyTo":"AANLkTi=b60kqd6fRXzf39BBepLOeA3ts6EN3AuY0iAp4@mail.gmail.com","subject":"git-p4 issue","fromName":"Michael Horowitz","fromEmail":"michael.horowitz@ieee.org","sentAt":"2011-02-24T21:12:31Z","receivedAt":"2011-02-24T21:12:31Z","isPatch":false,"sender":{"key":"michael.horowitz@ieee.org","avatar":null},"body":"Hello,\n\nI ran into an issue with git-p4 and was given a fix described below by\nsomeone assisting me, but I am not a Python developer...\n\n...\nBy looking at the git-p4 code turns out that in the prepareLogMessage\nfunction, everything between the Description and Files section of the\np4 change specification is skipped. The Jobs section happens to be\nbetween Description and Files...\n\nGood thing the fix is simple, in the prepareLogMessage function, just add this:\n\n    if inDescriptionSection:\n-       if line.startswith(\"Files:\"):\n+       if line.startswith(\"Files:\") or line.startswith(\"Jobs:\"):\n\nAnd you should now see your jobs appear in the p4 change specification.\n...\n\nGiven the simple nature of it, I was hoping someone could help get\nthis fixed in the main git distro.\n\n-- \nMike\n"}]}