diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2012-03-16 20:18:07 +0800 |
---|---|---|
committer | Jiang Xin <worldhello.net@gmail.com> | 2012-03-16 20:18:07 +0800 |
commit | d90b16ed421eb51fc4d7c6bda5f3332cc2e3aece (patch) | |
tree | 2d90d25ecbe794492f0fb267f31af8a1f646327d /builtin/prune.c | |
parent | l10n: Improve zh_CN translation for msg "not something we can merge" (diff) | |
parent | Git 1.7.10-rc1 (diff) | |
download | tgif-d90b16ed421eb51fc4d7c6bda5f3332cc2e3aece.tar.xz |
Merge v1.7.10-rc0 for git l10n update
Diffstat (limited to 'builtin/prune.c')
-rw-r--r-- | builtin/prune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/prune.c b/builtin/prune.c index 58d7cb8324..b99b635e44 100644 --- a/builtin/prune.c +++ b/builtin/prune.c @@ -85,9 +85,9 @@ static int prune_dir(int i, char *path) } fprintf(stderr, "bad sha1 file: %s/%s\n", path, de->d_name); } + closedir(dir); if (!show_only) rmdir(path); - closedir(dir); return 0; } |