aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-03-02 11:56:00 +0100
committerSimon Josefsson <simon@josefsson.org>2007-03-02 11:56:00 +0100
commit40abd788de7d9f6c68cd650d84fae75402a661e8 (patch)
treedffb33c7c2921fa29b665acbdfc4d7b973bb981c
parentc55e730fe7941fb5dbf7bebb6018ef319fcd70f1 (diff)
downloadgit2cl-40abd788de7d9f6c68cd650d84fae75402a661e8.zip
git2cl-40abd788de7d9f6c68cd650d84fae75402a661e8.tar.gz
git2cl-40abd788de7d9f6c68cd650d84fae75402a661e8.tar.bz2
Handle ' create mode' etc.
-rwxr-xr-xgit2cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git2cl b/git2cl
index 131804c..b1081a0 100755
--- a/git2cl
+++ b/git2cl
@@ -250,7 +250,7 @@ while (<>) {
} elsif ($state == 2) {
if (m,^([0-9]+)\t([0-9]+)\t(.*)$,) {
push @files, $3;
- } else {
+ } elsif (m,^[^ ],) {
# No file changes.
$done = 1;
}