]> 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:

reorder to avoid race
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 20 Oct 2007 21:18:19 +0000 (17:18 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 20 Oct 2007 21:18:19 +0000 (17:18 -0400)
mr

diff --git a/mr b/mr
index 2b1a36c22b21df656ca592cca16439fd029ad00d..9a33d40b3c2f9949df9c2a4e2ba46b4de2b2609f 100755 (executable)
--- a/mr
+++ b/mr
@@ -588,8 +588,8 @@ sub mrs { #{{{
                        $jobs{$pid}=$repo;
                        push @fhs, $fh;
                        push @out, "";
                        $jobs{$pid}=$repo;
                        push @fhs, $fh;
                        push @out, "";
-                       reaper();
                        $SIG{CHLD}=\&reaper;
                        $SIG{CHLD}=\&reaper;
+                       reaper();
                }
                my ($rin, $rout) = ('','', '');
                my $nfound;
                }
                my ($rin, $rout) = ('','', '');
                my $nfound;