X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=bin%2Frgit;h=6387293b5fe467756822f91fc1e197513577c37e;hb=7820644218536eeb757bfc01b0e73611d2d8a5c5;hp=83bd219a1c0a35558b8fd6a926d0fcbaa6dcdbf1;hpb=00f4d1f6016748f8b4623d8ff32546069f763a95;p=perl%2Fmodules%2Frgit.git diff --git a/bin/rgit b/bin/rgit index 83bd219..6387293 100755 --- a/bin/rgit +++ b/bin/rgit @@ -13,7 +13,7 @@ use App::Rgit; our $VERSION; BEGIN { - $VERSION = '0.04'; + $VERSION = '0.05'; } my %opts; @@ -134,7 +134,7 @@ rgit - Recursively execute a command on all the git repositories in a directory =head1 VERSION -Version 0.04 +Version 0.05 =head1 SYNOPSIS @@ -142,8 +142,8 @@ Version 0.04 =head1 DESCRIPTION -This utility recursively searches in the current directory (or in the directory given by the C environment variable if it's set) for all git repositories, sort this list by the repository path, C into each of them, and executes the specified git command. -Moreover, those formats are substuted in the arguments before running the command : +This utility recursively searches in a root directory (which may be the current working directory or - if it has been set - the directory given by the C environment variable) for all git repositories, sort this list by the repository path, C into each of them, and executes the specified git command. +Moreover, those formats are substituted in the arguments before running the command : =over 4 @@ -153,7 +153,7 @@ C<^n> with the current repository name. =item * -C<^g> with the relative path to the current repository. +C<^g> with the relative path (based from the root directory) to the current repository. =item * @@ -161,7 +161,7 @@ C<^G> with the absolute path to the current repository. =item * -C<^w> with the relative path to the current repository's working directory. +C<^w> with the relative path (based from the root directory) to the current repository's working directory. =item * @@ -177,7 +177,7 @@ C<^B> with an absolute version of the "bareified" path. =item * -C<^R> with the absolute path to the current root directory. +C<^R> with the absolute path to the root directory. =item * @@ -185,7 +185,7 @@ C<^^> with a bare C<^>. =back -There are actually a few commands that are only executed once in the current directory : C, C, C, C and C. +There are actually a few commands that are only executed once in the root directory : C, C, C, C and C. For any of those, no format substitution is done. You can specify which C executable to use with the C environment variable.