<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-p4.py, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-02-11T21:39:44Z</updated>
<entry>
<title>Merge branch 'ld/p4-submit-hint'</title>
<updated>2015-02-11T21:39:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c9c3dfaff886d9882252f03b7f5a11c435f5688'/>
<id>urn:sha1:5c9c3dfaff886d9882252f03b7f5a11c435f5688</id>
<content type='text'>
* ld/p4-submit-hint:
  git-p4: correct --prepare-p4-only instructions
</content>
</entry>
<entry>
<title>git-p4: support excluding paths on sync</title>
<updated>2015-02-11T21:38:29Z</updated>
<author>
<name>Luke Diamand</name>
<email>luke@diamand.org</email>
</author>
<published>2015-01-17T20:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=51334bb094e085728ffe2b603fa3fe41dd80c075'/>
<id>urn:sha1:51334bb094e085728ffe2b603fa3fe41dd80c075</id>
<content type='text'>
The clone subcommand has long had support for excluding
subdirectories, but sync has not. This is a nuisance,
since as soon as you do a sync, any changed files that
were initially excluded start showing up.

Move the "exclude" command-line option into the parent
class; the actual behavior was already present there so
it simply had to be exposed.

Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Reviewed-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: correct --prepare-p4-only instructions</title>
<updated>2015-01-23T22:44:14Z</updated>
<author>
<name>Luke Diamand</name>
<email>luke@diamand.org</email>
</author>
<published>2015-01-23T09:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=10de86d0d57dfa6680e229bfa0aa8ed31382767e'/>
<id>urn:sha1:10de86d0d57dfa6680e229bfa0aa8ed31382767e</id>
<content type='text'>
If you use git-p4 with the "--prepare-p4-only" option, then
it prints the p4 command line to use. However, the command
line was incorrect: the changelist specification must be
supplied on standard input, not as an argument to p4.

Signed-off-by: Luke Diamand &lt;luke@diamand.org&gt;
Acked-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: fix submit in non --prepare-p4-only mode</title>
<updated>2014-06-13T18:04:04Z</updated>
<author>
<name>Maxime Coste</name>
<email>frrrwww@gmail.com</email>
</author>
<published>2014-06-11T13:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e2a892ee05ae5d9675881beb6dd5f90ca4677b0d'/>
<id>urn:sha1:e2a892ee05ae5d9675881beb6dd5f90ca4677b0d</id>
<content type='text'>
b4073bb3 (git-p4: Do not include diff in spec file when just
preparing p4, 2014-05-24) broke git p4 submit, here is a proper
fix, including proper handling for windows end of lines.

Signed-off-by: Maxime Coste &lt;frrrwww@gmail.com&gt;
Acked-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: Do not include diff in spec file when just preparing p4</title>
<updated>2014-05-27T19:35:15Z</updated>
<author>
<name>Maxime Coste</name>
<email>frrrwww@gmail.com</email>
</author>
<published>2014-05-24T17:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b4073bb387ef303c9ac3c044f46d6a8ae6e190f0'/>
<id>urn:sha1:b4073bb387ef303c9ac3c044f46d6a8ae6e190f0</id>
<content type='text'>
The diff information render the spec file unusable as is by p4,
do not include it when run with --prepare-p4-only so that the
given file can be directly passed to p4.

With --prepare-p4-only, git-p4 already tells the user it can use
p4 submit with the generated spec file. This fails because of the
diff being present in the file. Not including the diff fixes that.

Without --prepare-p4-only, keeping the diff makes sense for a
quick review of the patch before submitting it. And does not cause
problems with p4 as we remove it programmatically.

Signed-off-by: Maxime Coste &lt;frrrwww@gmail.com&gt;
Acked-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cl/p4-use-diff-tree'</title>
<updated>2014-05-07T21:39:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-05-07T21:39:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ccfa587787aa4f3f0990ae45af18b84b55e2c74e'/>
<id>urn:sha1:ccfa587787aa4f3f0990ae45af18b84b55e2c74e</id>
<content type='text'>
Fixes a regression in 1.9.0 with an obviously correct single-liner.

* cl/p4-use-diff-tree:
  git-p4: format-patch to diff-tree change breaks binary patches
</content>
</entry>
<entry>
<title>git-p4: format-patch to diff-tree change breaks binary patches</title>
<updated>2014-05-07T17:27:22Z</updated>
<author>
<name>Tolga Ceylan</name>
<email>tolga.ceylan@gmail.com</email>
</author>
<published>2014-05-07T05:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=749b668c7db563609de3de7595504f2dca8eef7d'/>
<id>urn:sha1:749b668c7db563609de3de7595504f2dca8eef7d</id>
<content type='text'>
When applying binary patches a full index is required. format-patch
already handles this, but diff-tree needs '--full-index' argument
to always output full index. When git-p4 runs git-apply to test
the patch, git-apply rejects the patch due to abbreviated blob
object names. This is the error message git-apply emits in this
case:

    error: cannot apply binary patch to '&lt;filename&gt;' without full index line
    error: &lt;filename&gt;: patch does not apply

Signed-off-by: Tolga Ceylan &lt;tolga.ceylan@gmail.com&gt;
Acked-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: explicitly specify that HEAD is a revision</title>
<updated>2014-04-07T22:37:12Z</updated>
<author>
<name>Vlad Dogaru</name>
<email>vdogaru@ixiacom.com</email>
</author>
<published>2014-04-07T13:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e49d95ece7e023106349875df05fed0601920a5'/>
<id>urn:sha1:4e49d95ece7e023106349875df05fed0601920a5</id>
<content type='text'>
'git p4 rebase' fails with the following message if there is a file
named HEAD in the current directory:

	fatal: ambiguous argument 'HEAD': both revision and filename
	Use '--' to separate paths from revisions, like this:
	'git &lt;command&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]'

Take the suggestion above and explicitly state that HEAD should be
treated as a revision.

Signed-off-by: Vlad Dogaru &lt;vdogaru@ixiacom.com&gt;
Acked-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4: fix an error message when "p4 where" fails</title>
<updated>2014-01-22T16:06:19Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2014-01-21T23:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2000544330d5b047074d8043042f7cc66157f8f5'/>
<id>urn:sha1:2000544330d5b047074d8043042f7cc66157f8f5</id>
<content type='text'>
When "p4 where" fails, for whatever reason, the error message tries to
show an undefined variable.  This minor bug applies only when using a
client spec, and was introduced recently in 9d57c4a (git p4: implement
view spec wildcards with "p4 where", 2013-08-30).

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git p4: handle files with wildcards when doing RCS scrubbing</title>
<updated>2014-01-22T16:06:19Z</updated>
<author>
<name>Pete Wyckoff</name>
<email>pw@padd.com</email>
</author>
<published>2014-01-21T23:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=79467e61aa30342d7fb17232624ec5ade4cbbe6a'/>
<id>urn:sha1:79467e61aa30342d7fb17232624ec5ade4cbbe6a</id>
<content type='text'>
Commit 9d7d446 (git p4: submit files with wildcards, 2012-04-29)
fixed problems with handling files that had p4 wildcard
characters, like "@" and "*".  But it missed one case, that of
RCS keyword scrubbing, which uses "p4 fstat" to extract type
information.  Fix it by calling wildcard_encode() on the raw
filename.

Signed-off-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
