<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-p4.py, branch v2.11.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.11.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.11.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-01-17T23:19:02Z</updated>
<entry>
<title>Merge branch 'gv/p4-multi-path-commit-fix' into maint</title>
<updated>2017-01-17T23:19:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-17T23:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1d5cb4596db9b4c5c9e8bd25700ecde83dfd18bd'/>
<id>urn:sha1:1d5cb4596db9b4c5c9e8bd25700ecde83dfd18bd</id>
<content type='text'>
"git p4" that tracks multile p4 paths imported a single changelist
that touches files in these multiple paths as one commit, followed
by many empty commits.  This has been fixed.

* gv/p4-multi-path-commit-fix:
  git-p4: fix multi-path changelist empty commits
</content>
</entry>
<entry>
<title>Merge branch 'ld/p4-compare-dir-vs-symlink' into maint</title>
<updated>2017-01-17T23:11:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-17T23:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aa83f7a2a4a677e9eca4a599f47e027ad06716d1'/>
<id>urn:sha1:aa83f7a2a4a677e9eca4a599f47e027ad06716d1</id>
<content type='text'>
"git p4" misbehaved when swapping a directory and a symbolic link.

* ld/p4-compare-dir-vs-symlink:
  git-p4: avoid crash adding symlinked directory
</content>
</entry>
<entry>
<title>git-p4: fix multi-path changelist empty commits</title>
<updated>2016-12-19T18:04:21Z</updated>
<author>
<name>George Vanburgh</name>
<email>gvanburgh@bloomberg.net</email>
</author>
<published>2016-12-17T22:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9943e5b9799336460ecbbeb86e544cc4a1ad1254'/>
<id>urn:sha1:9943e5b9799336460ecbbeb86e544cc4a1ad1254</id>
<content type='text'>
When importing from multiple perforce paths - we may attempt to
import a changelist that contains files from two (or more) of these
depot paths. Currently, this results in multiple git commits - one
containing the changes, and the other(s) as empty commit(s). This
behavior was introduced in commit 1f90a64891 ("git-p4: reduce number
of server queries for fetches", 2015-12-19).

Reproduction Steps:

  1. Have a git repo cloned from a perforce repo using multiple
     depot paths (e.g. //depot/foo and //depot/bar).

  2. Submit a single change to the perforce repo that makes changes
     in both //depot/foo and //depot/bar.

  3. Run "git p4 sync" to sync the change from #2.

Change is synced as multiple commits, one for each depot path that
was affected.

Using a set, instead of a list inside p4ChangesForPaths() ensures
that each changelist is unique to the returned list, and therefore
only a single commit is generated for each changelist.

Reported-by: James Farwell &lt;jfarwell@vmware.com&gt;
Signed-off-by: George Vanburgh &lt;gvanburgh@bloomberg.net&gt;
Reviewed-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: avoid crash adding symlinked directory</title>
<updated>2016-12-18T21:19:40Z</updated>
<author>
<name>Luke Diamand</name>
<email>luke@diamand.org</email>
</author>
<published>2016-12-17T01:00:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=df8a9e86db13f2b8becfde8ed69f80127ba14e20'/>
<id>urn:sha1:df8a9e86db13f2b8becfde8ed69f80127ba14e20</id>
<content type='text'>
When submitting to P4, if git-p4 came across a symlinked
directory, then during the generation of the submit diff, it would
try to open it as a normal file and fail.

Spot symlinks (of any type) and output a description of the symlink
instead.

Add a test case.

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: fix empty file processing for large file system backend GitLFS</title>
<updated>2016-12-05T22:57:33Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2016-12-04T16:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d5eb3cf5e7e4274e12e0f249b3a026c029f3b02c'/>
<id>urn:sha1:d5eb3cf5e7e4274e12e0f249b3a026c029f3b02c</id>
<content type='text'>
If git-p4 tried to store an empty file in GitLFS then it crashed while
parsing the pointer file:

  oid = re.search(r'^oid \w+:(\w+)', pointerFile, re.MULTILINE).group(1)
  AttributeError: 'NoneType' object has no attribute 'group'

This happens because GitLFS does not create a pointer file for an empty
file. Teach git-p4 this behavior to fix the problem and add a test case.

Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2016-08-11T21:35:42Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2016-08-09T08:53:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2e3a16b279a9df2e498187871c67e623e12bc8a4'/>
<id>urn:sha1:2e3a16b279a9df2e498187871c67e623e12bc8a4</id>
<content type='text'>
    &lt;BAD&gt;                     &lt;CORRECTED&gt;
    accidently                accidentally
    commited                  committed
    dependancy                dependency
    emtpy                     empty
    existance                 existence
    explicitely               explicitly
    git-upload-achive         git-upload-archive
    hierachy                  hierarchy
    indegee                   indegree
    intial                    initial
    mulitple                  multiple
    non-existant              non-existent
    precendence.              precedence.
    priviledged               privileged
    programatically           programmatically
    psuedo-binary             pseudo-binary
    soemwhere                 somewhere
    successfull               successful
    transfering               transferring
    uncommited                uncommitted
    unkown                    unknown
    usefull                   useful
    writting                  writing

Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ls/p4-tmp-refs'</title>
<updated>2016-07-19T20:22:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-19T20:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36cafe44443fcca9eb35399ef0e9bfe289ec5dde'/>
<id>urn:sha1:36cafe44443fcca9eb35399ef0e9bfe289ec5dde</id>
<content type='text'>
"git p4" used a location outside $GIT_DIR/refs/ to place its
temporary branches, which has been moved to refs/git-p4-tmp/.

* ls/p4-tmp-refs:
  git-p4: place temporary refs used for branch import under refs/git-p4-tmp
</content>
</entry>
<entry>
<title>Merge branch 'ao/p4-has-branch-prefix-fix' into maint</title>
<updated>2016-07-11T17:44:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-11T17:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e3e28b2f320d27242a2728e48fad27f5f7f2f21'/>
<id>urn:sha1:8e3e28b2f320d27242a2728e48fad27f5f7f2f21</id>
<content type='text'>
A bug, which caused "git p4" while running under verbose mode to
report paths that are omitted due to branch prefix incorrectly, has
been fixed; the command said "Ignoring file outside of prefix" for
paths that are _inside_.

* ao/p4-has-branch-prefix-fix:
  git-p4: correct hasBranchPrefix verbose output
</content>
</entry>
<entry>
<title>git-p4: place temporary refs used for branch import under refs/git-p4-tmp</title>
<updated>2016-07-08T22:28:16Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2016-06-29T07:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d604176d23a69c7f690f0379b82b789732a4278f'/>
<id>urn:sha1:d604176d23a69c7f690f0379b82b789732a4278f</id>
<content type='text'>
Git-P4 used to place temporary refs under "git-p4-tmp". Since 3da1f37
Git checks that all refs are placed under "refs". Instruct Git-P4 to
place temporary refs under "refs/git-p4-tmp". There are no backwards
compatibility considerations as these refs are transient.

Use "git show-ref --verify" to check the (non-)existience of the refs
instead of file checks assuming the file-based ref backend.

All refs under "refs" are shared across all worktrees. This is not
desired for temporary Git-P4 refs and will be adressed in a later patch.

Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Reviewed-by: Vitor Antunes &lt;vitor.hda@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ao/p4-has-branch-prefix-fix'</title>
<updated>2016-07-06T20:38:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-06T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3efeb513281ed59cc4c62be53256fd59832caa23'/>
<id>urn:sha1:3efeb513281ed59cc4c62be53256fd59832caa23</id>
<content type='text'>
A bug, which caused "git p4" while running under verbose mode to
report paths that are omitted due to branch prefix incorrectly, has
been fixed; the command said "Ignoring file outside of prefix" for
paths that are _inside_.

* ao/p4-has-branch-prefix-fix:
  git-p4: correct hasBranchPrefix verbose output
</content>
</entry>
</feed>
