summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9823a4)
raw | patch | inline | side by side (parent: c9823a4)
author | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | |
Tue, 19 Apr 2005 21:11:06 +0000 (14:11 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | |
Tue, 19 Apr 2005 21:11:06 +0000 (14:11 -0700) |
Noted by Tony Luck.
init-db.c | patch | blob | history |
diff --git a/init-db.c b/init-db.c
index 65898fa582e973b1cb98171cd4494598dd8bc36d..b002dc653c956a5a91c8d059e023996677f8b8e1 100644 (file)
--- a/init-db.c
+++ b/init-db.c
int main(int argc, char **argv)
{
- char *sha1_dir = getenv(DB_ENVIRONMENT), *path;
+ char *sha1_dir, *path;
int len, i;
if (mkdir(".git", 0755) < 0) {