]> mj.ucw.cz Git - git-tools.git/commitdiff
Update2: Removed a FIXME
authorMartin Mares <mj@ucw.cz>
Mon, 16 Jul 2012 20:20:54 +0000 (22:20 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 16 Jul 2012 20:20:54 +0000 (22:20 +0200)
Unfortunately, I do not know how to force flattening of an array
when calling a prototyped function. Will anybody help me?

update2

diff --git a/update2 b/update2
index bfea61cebe7afbc21d65c44f509d223514bd8e74..4b6fd420d78aa4c9a899cde5e496e03d0a54afca 100755 (executable)
--- a/update2
+++ b/update2
@@ -39,7 +39,7 @@ sub update_ref($$$);
 open ORIG_STDOUT, '>&', \*STDOUT;
 
 if (@ARGV) {
-       update_ref($ARGV[0], $ARGV[1], $ARGV[2]); #FIXME
+       update_ref($ARGV[0], $ARGV[1], $ARGV[2]);
 } else {
        while (<STDIN>) {
                chomp;