]> git.madduck.net Git - code/myrepos.git/commitdiff

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:

Warn if an include command fails nonzero. Closes: #495306
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 16 Aug 2008 03:26:41 +0000 (23:26 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 16 Aug 2008 03:26:41 +0000 (23:26 -0400)
debian/changelog
mr

index 0067088e2396d725a60284aef9e4770877b599dd..8a6ff26b1c298b531e6b4b67ef2fcb3ec58ca6b6 100644 (file)
@@ -1,3 +1,9 @@
+mr (0.35) UNRELEASED; urgency=low
+
+  * Warn if an include command fails nonzero. Closes: #495306
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 15 Aug 2008 23:26:14 -0400
+
 mr (0.34) unstable; urgency=low
 
   * Fix bug when remembering failed commands in offline mode.
 mr (0.34) unstable; urgency=low
 
   * Fix bug when remembering failed commands in offline mode.
diff --git a/mr b/mr
index fdc5d8971cd0500d67e986f809eff3f8a045015b..4dabe9a23d4a15db6df4302890d7528d28f18162 100755 (executable)
--- a/mr
+++ b/mr
@@ -848,6 +848,9 @@ sub loadconfig { #{{{
                        if ($parameter eq "include") {
                                print "mr: including output of \"$value\"\n" if $verbose;
                                unshift @lines, `$value`;
                        if ($parameter eq "include") {
                                print "mr: including output of \"$value\"\n" if $verbose;
                                unshift @lines, `$value`;
+                               if ($?) {
+                                       print STDERR "mr: include command exited nonzero ($?)\n";
+                               }
                                next;
                        }
 
                                next;
                        }