Code

git svn: avoid uninitialized var in 'reset'
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 4 May 2010 23:36:47 +0000 (16:36 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 9 May 2010 08:22:31 +0000 (01:22 -0700)
commit70ee0b7797041621b22c448726f4f88102b5a4f5
tree44ec4abe4f28515a93fd10e29b92c84c0af3a6a2
parent212f0ba357cde43d1cf66692f73a2f662d13ac55
git svn: avoid uninitialized var in 'reset'

When "git svn reset" is called with an invalid revision, we
bail out and show the user a proper error message instead
of giving them a cryptic one related to git-svn internals.

ref: http://bugs.debian.org/578908
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reported-by: Jens Seidel <jensseidel@users.sf.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl