<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v1.6.8.7</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.7</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.6.8.7'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2009-07-02T23:12:57+00:00</updated>
<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>
<entry>
<title>Fix invalid use of try-catch</title>
<updated>2009-06-16T21:59:19+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-06-16T21:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=fb5c8fd948dea211cd8f43477855de44c273a1bf'/>
<id>urn:sha1:fb5c8fd948dea211cd8f43477855de44c273a1bf</id>
<content type='text'>
Its try-except in Python.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Don't crash if the ssh client is already dead</title>
<updated>2009-06-16T18:49:10+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-06-16T18:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=26120ca18dd8c2567b0df5a533d52d53c4111bc2'/>
<id>urn:sha1:26120ca18dd8c2567b0df5a533d52d53c4111bc2</id>
<content type='text'>
If the SSH client terminated abnormally in the background (e.g. the
server shutdown while we were doing a sync) then the pid won't exist.
Instead of crashing, ignore it, the result we wanted (a non-orphaned
ssh process) is already acheived.

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