author | Eric Wong <normalperson@yhbt.net> | |
Thu, 22 Nov 2007 02:20:57 +0000 (18:20 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 22 Nov 2007 04:11:11 +0000 (20:11 -0800) | ||
commit | a5460eb7bb3ccef599adce87a620a3b89c7eb5df | |
tree | f3f4589d2793c3bb4fc4f3188aa2a2b7131c9256 | tree | snapshot |
parent | 8b014d7157d29ce76b0f631e19c6e2ce9aeb2366 | commit | diff |
git-svn: allow `info' command to work offline
Cache the repository root whenever we connect to the repository.
This will allow us to notice URL changes if the user changes the
URL in .git/config, too.
If the repository is no longer accessible, or if `git svn info'
is the first and only command run; then '(offline)' will be
displayed for "Repository Root:" in the output.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Cache the repository root whenever we connect to the repository.
This will allow us to notice URL changes if the user changes the
URL in .git/config, too.
If the repository is no longer accessible, or if `git svn info'
is the first and only command run; then '(offline)' will be
displayed for "Repository Root:" in the output.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |