Files
git/builtin
Ralf Thielow a3552aba55 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>
2013-10-14 12:26:15 -07:00
..
2013-07-22 11:23:10 -07:00
2013-07-22 11:34:25 -07:00
2013-06-02 16:00:44 -07:00
2013-04-15 11:04:44 -07:00
2012-09-17 15:59:34 -07:00
2013-05-29 14:23:40 -07:00
2013-08-01 11:52:37 -07:00
2013-07-22 11:24:09 -07:00
2013-07-29 12:32:25 -07:00
2013-08-28 16:55:23 -07:00
2012-09-27 17:57:26 -07:00
2013-07-22 11:24:11 -07:00
2013-07-22 11:24:11 -07:00
2012-10-25 06:42:27 -04:00
2013-07-29 12:32:25 -07:00
2013-05-29 14:23:04 -07:00
2013-06-17 13:30:01 -07:00
2013-07-19 09:26:15 -07:00
2013-07-22 11:23:56 -07:00
2013-01-16 12:48:22 -08:00