<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-p4.py, branch v2.7.0-rc2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v2.7.0-rc2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v2.7.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2015-12-15T16:02:19Z</updated>
<entry>
<title>Merge branch 'ls/p4-keep-empty-commits'</title>
<updated>2015-12-15T16:02:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-12-15T16:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a899d500c6255c245586e5ef366ad2d99e5db81c'/>
<id>urn:sha1:a899d500c6255c245586e5ef366ad2d99e5db81c</id>
<content type='text'>
"git p4" used to import Perforce CLs that touch only paths outside
the client spec as empty commits.  It has been corrected to ignore
them instead, with a new configuration git-p4.keepEmptyCommits as a
backward compatibility knob.

* ls/p4-keep-empty-commits:
  git-p4: add option to keep empty commits
</content>
</entry>
<entry>
<title>git-p4: add option to keep empty commits</title>
<updated>2015-12-10T18:45:02Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2015-12-08T09:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4ae048e67e5f0d786b9febc438433d95f18e5937'/>
<id>urn:sha1:4ae048e67e5f0d786b9febc438433d95f18e5937</id>
<content type='text'>
A changelist that contains only excluded files due to a client spec was
imported as an empty commit. Fix that issue by ignoring these commits.
Add option "git-p4.keepEmptyCommits" to make the previous behavior
available.

Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Helped-by: Pete Harlan
Acked-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2015-12-01T22:32:38Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-12-01T22:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d'/>
<id>urn:sha1:40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d</id>
<content type='text'>
* maint:
  http: treat config options sslCAPath and sslCAInfo as paths
  Documentation/diff: give --word-diff-regex=. example
  filter-branch: deal with object name vs. pathname ambiguity in tree-filter
  check-ignore: correct documentation about output
  git-p4: clean up after p4 submit failure
  git-p4: work with a detached head
  git-p4: add option to system() to return subshell status
  git-p4: add failing test for submit from detached head
  remote-http(s): support SOCKS proxies
  t5813: avoid creating urls that break on cygwin
  Escape Git's exec path in contrib/rerere-train.sh script
  allow hooks to ignore their standard input stream
  rebase-i-exec: Allow space in SHELL_PATH
  Documentation: make environment variable formatting more consistent
</content>
</entry>
<entry>
<title>Merge branch 'eg/p4-submit-catch-failure' into maint</title>
<updated>2015-12-01T22:24:21Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-12-01T22:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=908a6e4156dff47d4877478383fd4b79592010e2'/>
<id>urn:sha1:908a6e4156dff47d4877478383fd4b79592010e2</id>
<content type='text'>
Just like the working tree is cleaned up when the user cancelled
submission in P4Submit.applyCommit(), clean up the mess if "p4
submit" fails.

* eg/p4-submit-catch-failure:
  git-p4: clean up after p4 submit failure
</content>
</entry>
<entry>
<title>Merge branch 'ld/p4-detached-head' into maint</title>
<updated>2015-12-01T22:21:29Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-12-01T22:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5b228f956a8f7ec5127adf9e9368220d7e5d9a5e'/>
<id>urn:sha1:5b228f956a8f7ec5127adf9e9368220d7e5d9a5e</id>
<content type='text'>
Make git-p4 work on a detached head.

* ld/p4-detached-head:
  git-p4: work with a detached head
  git-p4: add option to system() to return subshell status
  git-p4: add failing test for submit from detached head
</content>
</entry>
<entry>
<title>git-p4: clean up after p4 submit failure</title>
<updated>2015-11-24T20:41:59Z</updated>
<author>
<name>GIRARD Etienne</name>
<email>egirard@murex.com</email>
</author>
<published>2015-11-24T07:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b7638fed427f4aab36ad8ff36fe06f0e4b5c98e4'/>
<id>urn:sha1:b7638fed427f4aab36ad8ff36fe06f0e4b5c98e4</id>
<content type='text'>
When "p4 submit" command fails in P4Submit.applyCommit, the
workspace is left with the changes.  We already have code to revert
the changes to the workspace when the user decides to cancel
submission by aborting the editor that edits the change description,
and we should treat the "p4 submit" failure the same way.

Clean the workspace if p4_write_pipe raised SystemExit, so that the
user don't have to do it themselves.

Signed-off-by: GIRARD Etienne &lt;egirard@murex.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>git-p4: work with a detached head</title>
<updated>2015-11-24T20:20:15Z</updated>
<author>
<name>Luke Diamand</name>
<email>luke@diamand.org</email>
</author>
<published>2015-11-21T09:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=00ad6e3182bbe68a94eaedf322918e4f266d184f'/>
<id>urn:sha1:00ad6e3182bbe68a94eaedf322918e4f266d184f</id>
<content type='text'>
When submitting, git-p4 finds the current branch in
order to know if it is allowed to submit (configuration
"git-p4.allowSubmit").

On a detached head, detecting the branch would fail, and
git-p4 would report a cryptic error.

This change teaches git-p4 to recognise a detached head and
submit successfully.

Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>git-p4: add option to system() to return subshell status</title>
<updated>2015-11-24T20:20:15Z</updated>
<author>
<name>Luke Diamand</name>
<email>luke@diamand.org</email>
</author>
<published>2015-11-21T09:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cbff4b25e4e6e08637403d76bf32dbbd4d517442'/>
<id>urn:sha1:cbff4b25e4e6e08637403d76bf32dbbd4d517442</id>
<content type='text'>
Add an optional parameter ignore_error to the git-p4 system()
function. If used, it will return the subshell exit status
rather than throwing an exception.

Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ls/p4-translation-failure' into maint</title>
<updated>2015-11-03T23:32:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-11-03T23:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c7bdbd6f92bbab2a030ee8bf7957af25327545e5'/>
<id>urn:sha1:c7bdbd6f92bbab2a030ee8bf7957af25327545e5</id>
<content type='text'>
Work around "git p4" failing when the P4 depot records the contents
in UTF-16 without UTF-16 BOM.

* ls/p4-translation-failure:
  git-p4: handle "Translation of file content failed"
  git-p4: add test case for "Translation of file content failed" error
</content>
</entry>
<entry>
<title>Merge branch 'ld/p4-import-labels' into maint</title>
<updated>2015-11-03T23:32:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-11-03T23:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=04bba3a12b27f592d6d0b8f8af28b2697e55532d'/>
<id>urn:sha1:04bba3a12b27f592d6d0b8f8af28b2697e55532d</id>
<content type='text'>
Correct "git p4 --detect-labels" so that it does not fail to create
a tag that points at a commit that is also being imported.

* ld/p4-import-labels:
  git-p4: fix P4 label import for unprocessed commits
  git-p4: do not terminate creating tag for unknown commit
  git-p4: failing test for ignoring invalid p4 labels
</content>
</entry>
</feed>
