diff options
author | Shawn O. Pearce <sop@google.com> | 2008-10-21 07:09:27 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2008-10-21 07:12:36 -0700 |
commit | 0734600ce0f24016d190311621ea59649bc92bad (patch) | |
tree | 178b43053e592c35f8cddc5e948145b7fd421530 /main.py | |
parent | cf31fe9b4fb650b27e19f5d7ee7297e383660caf (diff) | |
download | git-repo-0734600ce0f24016d190311621ea59649bc92bad.tar.gz |
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>
Diffstat (limited to 'main.py')
0 files changed, 0 insertions, 0 deletions