<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v1.6.8.9</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.6.8.9</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.6.8.9'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2009-12-31T02:38:27+00:00</updated>
<entry>
<title>sync: Fix split call on malformed email addresses</title>
<updated>2009-12-31T02:38:27+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-12-31T02:38:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=aa4982e4c937d9be0f69c250692839eb98a184e8'/>
<id>urn:sha1:aa4982e4c937d9be0f69c250692839eb98a184e8</id>
<content type='text'>
If an email address in a commit object contains a space, like a few
malformed ones on the Linux kernel, we still want to split only on
the first space.

Unfortunately my brain was too damaged by Perl and originally wrote
the split asking for 2 results; in Python split's argument is how
many splits to perform.  Here we want only 1 split, to break apart
the commit identity from the email address on the same line.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Fixing project renaming bug.</title>
<updated>2009-12-10T23:24:45+00:00</updated>
<author>
<name>Nico Sallembien</name>
<email>nsallembien@google.com</email>
</author>
<published>2009-12-07T23:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=9bb1816bdc2c21811ea6a87ba6eb745bdf3c041c'/>
<id>urn:sha1:9bb1816bdc2c21811ea6a87ba6eb745bdf3c041c</id>
<content type='text'>
This bug happens when a project gets added to the manifest, and
then is renamed. Users who happened to have run "repo sync" after
the project was added but before the rename happened will try to
read the data from the old project, as the manifest was only updated
after all projects were updated successfully.
</content>
</entry>
<entry>
<title>Fix error parsing a non-existant configuration file</title>
<updated>2009-07-02T23:12:57+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-07-02T23:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=c24c720b6135a8f7975bf9af265124eee2d464cb'/>
<id>urn:sha1:c24c720b6135a8f7975bf9af265124eee2d464cb</id>
<content type='text'>
If a file (e.g. ~/.gitconfig) does not exist, we get None
here rather than a string.  NoneType lacks rstrip() so we
cannot strip it.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Document how to contribute to the repo project</title>
<updated>2009-07-02T20:18:55+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-07-02T20:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=2d1a3968971366fab7000664959a2d5a39b48996'/>
<id>urn:sha1:2d1a3968971366fab7000664959a2d5a39b48996</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Support GIT_EDITOR='vim -c "set textwidth=80"'</title>
<updated>2009-07-02T19:45:47+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-07-02T19:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1dcb58a7d0f07bf358ba485733580413ebe2478b'/>
<id>urn:sha1:1dcb58a7d0f07bf358ba485733580413ebe2478b</id>
<content type='text'>
If there are shell special characters in the editor string, we must
use /bin/sh to parse and execute it, rather than trying to rely on
a simple split(' ').  This avoids vim starting up with two empty
buffers, due to a misparsed command line.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Try to prevent 'repo sync' as a user name</title>
<updated>2009-07-02T17:53:04+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-07-02T17:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=37dbf2bf0fa799530052ffd010dadbd4c01b7746'/>
<id>urn:sha1:37dbf2bf0fa799530052ffd010dadbd4c01b7746</id>
<content type='text'>
When someone copies and pastes a setup line from a web page,
they might actually copy 'repo sync' onto the clipboard and wind
up pasting it into the "Your Name" prompt.  This means they will
initialize their client with the user name of "repo sync", creating
some rather funny looking commits later on.  For example:

  To setup your source tree:

    mkdir ~/code
    cd ~/code
    repo init -u git://....
    repo sync

If this entire block was just blindly copy and pasted into the
terminal, the shell won't read "repo sync" but "repo init" will.

By showing the user their full identity string, and asking them
to confirm it before we continue, we can give the hapless user a
chance to recover from this mistake, without unfairly harming those
who were actually named 'repo' by their parents.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>git_config: handle configuration entries with no values</title>
<updated>2009-06-29T07:24:36+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-06-28T22:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=438c54713a7ca56fba2a7985b6563aa076b17169'/>
<id>urn:sha1:438c54713a7ca56fba2a7985b6563aa076b17169</id>
<content type='text'>
A git-config entry with no value was preventing repo
from initializing.  This modifies _ReadGit() to handle
config entries with empty values.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Reported-by: Josh Guilfoyle &lt;jasta00@gmail.com&gt;
</content>
</entry>
<entry>
<title>.gitignore: add an entry for repopickles</title>
<updated>2009-06-28T22:08:56+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-06-28T22:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=e020ebee4e3e4e2ddefd72d41ac0035e6d528725'/>
<id>urn:sha1:e020ebee4e3e4e2ddefd72d41ac0035e6d528725</id>
<content type='text'>
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
</entry>
<entry>
<title>Support detached HEAD in manifest repository</title>
<updated>2009-06-25T23:47:30+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-06-25T23:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=21c5c34ee28036e595aab3cfc72e58c6c8f526b3'/>
<id>urn:sha1:21c5c34ee28036e595aab3cfc72e58c6c8f526b3</id>
<content type='text'>
If the manifest repository is on a detached HEAD and we are parsing
an XML formatted manifest we should simply set the branch property
to None, rather than crash with an AttributeError.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Document any crashes from the user's text editor</title>
<updated>2009-06-24T14:15:21+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-06-24T14:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=54fccd71fbdc60adf99b9a9bf4712c121d4312ba'/>
<id>urn:sha1:54fccd71fbdc60adf99b9a9bf4712c121d4312ba</id>
<content type='text'>
Rather than failing with no information, display the child exit
status and the command line we tried to use to edit a text file.
There may be some useful information to help understand the crash.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
</feed>
