<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-p4.py, branch v2.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-12-28T21:58:58Z</updated>
<entry>
<title>Merge branch 'sh/p4-multi-depot'</title>
<updated>2015-12-28T21:58:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-12-28T21:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aecb9979df1403923d66e7fc70b0374f1765b679'/>
<id>urn:sha1:aecb9979df1403923d66e7fc70b0374f1765b679</id>
<content type='text'>
"git p4" when interacting with multiple depots at the same time
used to incorrectly drop changes.

* sh/p4-multi-depot:
  git-p4: reduce number of server queries for fetches
  git-p4: support multiple depot paths in p4 submit
  git-p4: failing test case for skipping changes with multiple depots
</content>
</entry>
<entry>
<title>git-p4: reduce number of server queries for fetches</title>
<updated>2015-12-21T19:26:55Z</updated>
<author>
<name>Sam Hocevar</name>
<email>sam@hocevar.net</email>
</author>
<published>2015-12-19T09:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f90a64891ed83e172cbf605890044dba8315073'/>
<id>urn:sha1:1f90a64891ed83e172cbf605890044dba8315073</id>
<content type='text'>
When fetching changes from a depot using a full client spec, there
is no need to perform as many queries as there are top-level paths
in the client spec.  Instead we query all changes in chronological
order, also getting rid of the need to sort the results and remove
duplicates.

Signed-off-by: Sam Hocevar &lt;sam@hocevar.net&gt;
Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: support multiple depot paths in p4 submit</title>
<updated>2015-12-21T19:26:36Z</updated>
<author>
<name>Sam Hocevar</name>
<email>sam@hocevar.net</email>
</author>
<published>2015-12-19T09:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cbc692425cb8824b603da90929909ee8f4a8e0e0'/>
<id>urn:sha1:cbc692425cb8824b603da90929909ee8f4a8e0e0</id>
<content type='text'>
When submitting from a repository that was cloned using a client spec,
use the full list of paths when ruling out files that are outside the
view.  This fixes a bug where only files pertaining to the first path
would be included in the p4 submit.

Signed-off-by: Sam Hocevar &lt;sam@hocevar.net&gt;
Signed-off-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 '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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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.shady.money/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>
</feed>
