summaryrefslogtreecommitdiffstats
path: root/subcmds/upload.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2014-02-11 18:44:58 -0800
committerConley Owens <cco3@android.com>2014-02-12 09:11:00 -0800
commit565480588d2bff4205b437862505e77382189811 (patch)
treecaf6d315bb10bcdbc10e84dfae62ab755bcaa014 /subcmds/upload.py
parent1966133f8e82971f2e247a8579735a3b2f19301d (diff)
downloadgit-repo-565480588d2bff4205b437862505e77382189811.tar.gz
Check for existence of refs upon initial fetch
When we do an initial fetch and have not specified any branch etc, the following fetch command will not error: git fetch origin --tags +refs/heads/*:refs/remotes/origin/* In this change we make sure something got fetched and if not we report an error. This fixes the bug that occurs when we init using a bad manifest url and then are unable to init again (because a manifest project has been inited with no manifest). Change-Id: I6f8aaefc83a1837beb10b1ac90bea96dc8e61156
Diffstat (limited to 'subcmds/upload.py')
0 files changed, 0 insertions, 0 deletions