diff options
author | Benoit Sigoure <tsuna@lrde.epita.fr> | 2007-10-16 16:36:50 +0200 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-17 02:47:37 -0400 |
commit | 151534515682695348a8172f399f4bf025154a5f (patch) | |
tree | 316fabc58bc4a4704526b2a7db0400efd5f022fe /builtin-pack-refs.c | |
parent | d05ddec51e4e23923f8f6c633f0a125c9a27a391 (diff) | |
download | git-151534515682695348a8172f399f4bf025154a5f.tar.gz |
git-svn: add git svn propget
This allows one to easily retrieve a single SVN property from within
git-svn without requiring svn or remembering the URL of a repository
* git-svn.perl (%cmd): Add the new command `propget'.
($cmd_dir_prefix): New global.
(&get_svnprops): New helper.
(&cmd_propget): New. Use &get_svnprops.
* t/t9101-git-svn-props.sh: Add a test case for propget.
[ew: make sure the rev-parse --show-prefix call doesn't break
the `git-svn clone' command]
Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-pack-refs.c')
0 files changed, 0 insertions, 0 deletions