summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51890a6)
raw | patch | inline | side by side (parent: 51890a6)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 20 Aug 2005 08:05:12 +0000 (01:05 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 20 Aug 2005 08:05:12 +0000 (01:05 -0700) |
Use the common error message format, "filename:lineno: body";
this way, problematic lines can be jumped to from the Emacs
compilation buffer by C-x `.
Signed-off-by: Junio C Hamano <junkio@cox.net>
this way, problematic lines can be jumped to from the Emacs
compilation buffer by C-x `.
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--pre-commit | patch | blob | history |
index cb1c82d55db244fd0ffec151f433105472988be6..dad99bcf1029e17045c45a97ffe7b18657c1e237 100644 (file)
print "* In $filename\n";
$reported_filename = $filename;
}
- print "* $why (line $lineno)\n$line\n";
+ print "* $why (line $lineno)\n";
+ print "$filename:$lineno:$line\n";
}
open $fh, "-|", qw(git-diff-cache -p -M --cached HEAD);
while (<$fh>) {