diff options
author | Ralf Thielow <ralf.thielow@gmail.com> | 2013-10-11 18:49:02 +0200 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2013-10-14 12:26:15 -0700 |
commit | a3552aba55b9ed2860b8eb0581c73fc0e996369d (patch) | |
tree | 477c770accebb6ca80cea13f40fc3b079e0458da /t/t4013/diff.diff_--dirstat_initial_rearrange | |
parent | Git 1.8.4.1 (diff) | |
download | tgif-a3552aba55b9ed2860b8eb0581c73fc0e996369d.tar.xz |
clone --branch: refuse to clone if upstream repo is empty
Since 920b691 (clone: refuse to clone if --branch
points to bogus ref) we refuse to clone with option
"-b" if the specified branch does not exist in the
(non-empty) upstream. If the upstream repository is empty,
the branch doesn't exist, either. So refuse the clone too.
Reported-by: Robert Mitwicki <robert.mitwicki@opensoftware.pl>
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Acked-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t4013/diff.diff_--dirstat_initial_rearrange')
0 files changed, 0 insertions, 0 deletions