Go to file
Shawn O. Pearce 0734600ce0 Fix 'repo sync' when the remote reflog has only 1 entry
If the reflog for the upstream branch has only 1 entry in it, as
the branch has been updated only once, we can get back the 0{40}
object id from `git rev-parse upstream@{1}`, in which case we should
consider it to be the same as if upstream@{1} is not defined.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2008-10-21 07:12:36 -07:00
codereview Initial Contribution 2008-10-21 07:00:00 -07:00
froofle Initial Contribution 2008-10-21 07:00:00 -07:00
subcmds Initial Contribution 2008-10-21 07:00:00 -07:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
color.py Initial Contribution 2008-10-21 07:00:00 -07:00
command.py Initial Contribution 2008-10-21 07:00:00 -07:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Initial Contribution 2008-10-21 07:00:00 -07:00
error.py Initial Contribution 2008-10-21 07:00:00 -07:00
gerrit_upload.py Initial Contribution 2008-10-21 07:00:00 -07:00
git_command.py Initial Contribution 2008-10-21 07:00:00 -07:00
git_config.py Initial Contribution 2008-10-21 07:00:00 -07:00
import_ext.py Initial Contribution 2008-10-21 07:00:00 -07:00
import_tar.py Initial Contribution 2008-10-21 07:00:00 -07:00
import_zip.py Initial Contribution 2008-10-21 07:00:00 -07:00
main.py Initial Contribution 2008-10-21 07:00:00 -07:00
Makefile Initial Contribution 2008-10-21 07:00:00 -07:00
manifest.py Initial Contribution 2008-10-21 07:00:00 -07:00
pager.py Initial Contribution 2008-10-21 07:00:00 -07:00
project.py Fix 'repo sync' when the remote reflog has only 1 entry 2008-10-21 07:12:36 -07:00
remote.py Initial Contribution 2008-10-21 07:00:00 -07:00
repo Initial Contribution 2008-10-21 07:00:00 -07:00