summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
69c22fa)
run_or_die returns a status code in scalar context
# strip prefix if in a subdir
if (! defined $prefix) {
# strip prefix if in a subdir
if (! defined $prefix) {
- $prefix = run_or_die('git', 'rev-parse', '--show-prefix');
+ ($prefix) = run_or_die('git', 'rev-parse', '--show-prefix');
if (! defined $prefix) {
$prefix="";
}
if (! defined $prefix) {
$prefix="";
}