diff options
author | Steffen Winterfeldt <wfeldt@opensuse.org> | 2011-04-18 17:43:30 +0200 |
---|---|---|
committer | Steffen Winterfeldt <wfeldt@opensuse.org> | 2011-04-18 17:43:30 +0200 |
commit | 510918a92a9aa7f3b9318012bf90e911576479bc (patch) | |
tree | 72ff2b65e3f3df242ec74fc779cd2b8fd1669100 /git2log | |
parent | ca2d58de4008b98c5767c56369a8331024b0879e (diff) |
- fix script in case we are on no branch
Diffstat (limited to 'git2log')
-rwxr-xr-x | git2log | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ for (`git branch`) { } } +$branch = "master" if $branch eq '(no'; + die "no branch?\n" unless $branch; # print STDERR "writing log for branch $branch\n"; |