path: root/init-db.c
AgeCommit message (Collapse)Author
2005-04-26[PATCH] introduce xmalloc and xreallocChristopher Li
Introduce xmalloc and xrealloc to die gracefully with a descriptive message when out of memory, rather than taking a SIGSEGV. Signed-off-by: Christopher Li<> Signed-off-by: Linus Torvalds <>
2005-04-20[PATCH] init-db.c: create and use safe_create_dir helperZach Welch
Factor mkdir calls into common safe_create_dir subroutine. Signed-Off-By: Zach Welch <> Signed-off-by: Linus Torvalds <>
2005-04-20[PATCH] init-db.c: normalize env var handling.Zach Welch
Normalize init-db environment variable handling, allowing the creation of object directories with something other than DEFAULT_DB_ENVIRONMENT. Signed-Off-By: Zach Welch <> Signed-off-by: Linus Torvalds <>
2005-04-20[PATCH] init-db.c: cleanup commentsZach Welch
Consolidate comments at top of main. Signed-Off-By: Zach Welch <> Signed-off-by: Linus Torvalds <>
2005-04-19Remove duplicate getenv(DB_ENVIRONMENT) callLinus Torvalds
Noted by Tony Luck.
2005-04-19Fix init-db shared database caseLinus Torvalds
Noted by Aaron Straus
2005-04-13[PATCH] Whitespace FixesIngo Molnar
Trivial whitespace fixes. From: Ingo Molnar <> Signed-off-by: Ingo Molnar <> Signed-off-by: Petr Baudis <>
2005-04-11Rename ".dircache" directory to ".git"Linus Torvalds
I started out calling the tool "dircache". That's clearly moronic.
2005-04-11Make the default directory permissions more lax.Linus Torvalds
After all, if you want to not allow others to read your stuff, set your "umask" appropriately or make sure the parent directories aren't readable/executable.
2005-04-08Use "-Wall -O2" for the compiler to get more warnings.Linus Torvalds
And fix up the warnings that it pointed out. Let's keep the tree clean from early on. Not that the code is very beautiful anyway ;)
2005-04-07Add copyright notices.Linus Torvalds
The tool interface sucks (especially "committing" information, which is just me doing everything by hand from the command line), but I think this is in theory actually a viable way of describing the world. So copyright it.
2005-04-07Initial revision of "git", the information manager from hellLinus Torvalds