Revision history for rgit
+0.04 2008-10-07 22:05 UTC
+ + Add : Command-line switches -V, -I, -K. List::Util isn't required
+ anymore.
+ + Add : Policies for when a command fail.
+ + Add : Interactive mode.
+ + Fix : Test more portably the returned status of system. POSIX is
+ required.
+ + Fix : git-gui should be ran once too.
+ + Fix : Setting GIT_DIR didn't really work.
+ + Tst : Coverage down to 95%.
+
0.03 2008-10-06 16:45 UTC
+ Chg : Repositories are now sorted by path before being visited.
+ Fix : Prefer to chdir() into the working directory, as commands like
directory tree.
VERSION
- Version 0.03
+ Version 0.04
SYNOPSIS
- rgit [GIT_OPTIONS] COMMAND [COMMAND_ARGS]
+ rgit [-K|-V|-I] [GIT_OPTIONS] COMMAND [COMMAND_ARGS]
DESCRIPTION
This utility recursively searches in the current directory (or in the
* "^^" with a bare "^".
There are actually a few commands that are only executed once in the
- current directory : "version", "help", "daemon" and "init". For any of
- those, no format substitution is done.
+ current directory : "daemon", "gui", "help", "init" and "version". For
+ any of those, no format substitution is done.
You can specify which "git" executable to use with the "GIT_EXEC_PATH"
environment variable.
+COMMAND LINE SWITCHES
+ "rgit" takes its options as the capital switches that comes before the
+ git command. It's possible to bundle them together. They are removed
+ from the argument list before calling "git".
+
+ * "-K"
+
+ Keep processing on error. The default policy is to stop whenever an
+ error occured.
+
+ * "-I"
+
+ Enables interactive mode when the standard input is a tty. Requires
+ Term::ReadKey to be installed. This lets you choose interactively
+ what to do when one of the commands returns a non-zero status.
+
+ * "-V"
+
+ Outputs the version.
+
EXAMPLES
Execute "git gc" on all the repositories below the current directory :
GIT_DIR="/foo/bar" rgit remote add host git://host/qux/^b
DEPENDENCIES
- The core modules Carp, Cwd, Exporter, File::Find, File::Spec::Functions
- and List::Util.
+ The core modules Carp, "Config", Cwd, Exporter, File::Find,
+ File::Spec::Functions and POSIX.
Object::Tiny.
our $VERSION;
BEGIN {
- $VERSION = '0.03';
+ $VERSION = '0.04';
}
my %opts;
=head1 VERSION
-Version 0.03
+Version 0.04
=head1 SYNOPSIS
C<-I>
-Enables interactive mode.
+Enables interactive mode when the standard input is a tty.
Requires L<Term::ReadKey> to be installed.
This lets you choose interactively what to do when one of the commands returns a non-zero status.
=head1 DEPENDENCIES
-The core modules L<Carp>, L<Cwd>, L<Exporter>, L<File::Find>, L<File::Spec::Functions> and L<POSIX>.
+The core modules L<Carp>, C<Config>, L<Cwd>, L<Exporter>, L<File::Find>, L<File::Spec::Functions> and L<POSIX>.
L<Object::Tiny>.