]> git.madduck.net Git - code/myrepos.git/blobdiff - mr

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Ignore exit code from darcs whatsnew, which can be nonzero if there are no changes...
[code/myrepos.git] / mr
diff --git a/mr b/mr
index 4c7be3d3748a0e75d8ea0ff4a134bec5019a0fea..d4622d93e01c3ed60be2f4e69dd42cdffadb08f0 100755 (executable)
--- a/mr
+++ b/mr
@@ -607,7 +607,7 @@ sub record { #{{{
        elsif ($ret == FAILED) {
                if ($interactive) {
                        chdir($dir) unless $no_chdir;
-                       print STDERR "mr: starting interactive shell. Exit shell to continue.\n";
+                       print STDERR "mr: Starting interactive shell. Exit shell to continue.\n";
                        system((getpwuid($<))[8]);
                }
                push @failed, $dir;
@@ -1207,7 +1207,7 @@ git_status = git status "$@" || true
 bzr_status = bzr status "$@"
 cvs_status = cvs status "$@"
 hg_status  = hg status "$@"
-darcs_status = darcs whatsnew -ls "$@"
+darcs_status = darcs whatsnew -ls "$@" || true
 
 svn_commit = svn commit "$@"
 git_commit = git commit -a "$@" && git push --all