Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule: provide easy way of adding new submodules
[gitweb.git]
/
entry.c
diff --git
a/entry.c
b/entry.c
index ae6476496a81b23938569ab0e4c148ba45aba923..c540ae13e858685faa8dbbada5b064074235ae6d 100644
(file)
--- a/
entry.c
+++ b/
entry.c
@@
-31,7
+31,7
@@
static void remove_subtree(const char *path)
struct dirent *de;
char pathbuf[PATH_MAX];
char *name;
-
+
if (!dir)
die("cannot opendir %s (%s)", path, strerror(errno));
strcpy(pathbuf, path);