diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2008-04-24 20:06:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-29 23:11:57 -0700 |
commit | 59b0c24daaac3c2203dd8ac2de4dfcad909481a5 (patch) | |
tree | 47838d6ee4f48f263e5c02a9a410d101790989f2 /ident.c | |
parent | make git-status use a pager (diff) | |
download | tgif-59b0c24daaac3c2203dd8ac2de4dfcad909481a5.tar.xz |
git-svn: detect and fail gracefully when dcommitting to a void
The command
git svn clone (URL of an empty SVN repo here)
works, creates an empty git repository. I can perform the initial
commit there, but then, "git svn dcommit" says :
Use of uninitialized value in concatenation (.) or string at .../git-svn line 414.
Committing to ...
Unable to determine upstream SVN information from HEAD history
I guess a correct management of the initial commit in git-svn would be
hard to implement, but at least, the error message can be improved.
First step is something like the patch below, and better would be for
"git svn clone" to warn that it won't be able to do much with the
cloned repo.
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions