summaryrefslogtreecommitdiff
path: root/init-db.c
AgeCommit message (Collapse)AuthorFilesLines
2005-04-26[PATCH] introduce xmalloc and xreallocLibravatar Christopher Li1-1/+1
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<chrislgit@chrisli.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-19[PATCH] init-db.c: create and use safe_create_dir helperLibravatar Zach Welch1-16/+14
Factor mkdir calls into common safe_create_dir subroutine. Signed-Off-By: Zach Welch <zw@superlucidity.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-19[PATCH] init-db.c: normalize env var handling.Libravatar Zach Welch1-8/+3
Normalize init-db environment variable handling, allowing the creation of object directories with something other than DEFAULT_DB_ENVIRONMENT. Signed-Off-By: Zach Welch <zw@superlucidity.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-19[PATCH] init-db.c: cleanup commentsLibravatar Zach Welch1-9/+6
Consolidate comments at top of main. Signed-Off-By: Zach Welch <zw@superlucidity.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-19Remove duplicate getenv(DB_ENVIRONMENT) callLibravatar Linus Torvalds1-1/+1
Noted by Tony Luck.
2005-04-19Fix init-db shared database caseLibravatar Linus Torvalds1-1/+1
Noted by Aaron Straus
2005-04-13[PATCH] Whitespace FixesLibravatar Ingo Molnar1-1/+1
Trivial whitespace fixes. From: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz>
2005-04-11Rename ".dircache" directory to ".git"Libravatar Linus Torvalds1-2/+2
I started out calling the tool "dircache". That's clearly moronic.
2005-04-11Make the default directory permissions more lax.Libravatar Linus Torvalds1-3/+3
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.Libravatar Linus Torvalds1-2/+2
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.Libravatar Linus Torvalds1-0/+5
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 hellLibravatar Linus Torvalds1-0/+51