git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] git p4: notice Jobs: section in submit

From
PWPete Wyckoff <pw@padd.com>
Date
Jul 4, 2012, 13:34 UTC
Message-ID
<1341408860-26965-1-git-send-email-pw@padd.com>

Perforce has an idea of a "job" and can connect changes to jobs in order to connect code fixes to an external bug-tracking system, for instance. The job can be specified in a change by adding a section that looks like:

    Jobs:
	project-6032

For code committed from git p4, it would be nice to use a similar notation in the commit message and have the jobs wind up in the right section in the p4 change description.

This was discussed in http://thread.gmane.org/gmane.comp.version-control.git/200445 .

These commits are on origin/next, as they depend on changes in pw/git-p4-tests that was merged into next on Jul 3.

Pete Wyckoff (3):
  git p4: remove unused P4Submit interactive setting
  git p4 test: refactor marshal_dump
  git p4: notice Jobs lines in git commit messages
 git-p4.py                | 188 ++++++++++++++++++++++++++---------------------
 t/lib-git-p4.sh          |  14 ++++
 t/t9800-git-p4-basic.sh  |   5 --
 t/t9807-git-p4-submit.sh | 155 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 274 insertions(+), 88 deletions(-)
-- 
1.7.11.1.125.g4a65fea
Next: Pete Wyckoff
Message 1 of 8 in “git p4: notice Jobs: section in submit”
  1. 0/3 git p4: notice Jobs: section in submitPete Wyckoff, Jul 4, 2012
  2. 1/3 git p4: remove unused P4Submit interactive settingPete Wyckoff, Jul 4, 2012
  3. Pete WyckoffJul 4, 2012
  4. Luke DiamandJul 5, 2012
  5. Pete WyckoffJul 5, 2012
  6. Pete WyckoffJul 14, 2012
  7. 2/3 git p4 test: refactor marshal_dumpPete Wyckoff, Jul 4, 2012
  8. 3/3 git p4: notice Jobs lines in git commit messagesPete Wyckoff, Jul 4, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.