Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
write_file(): drop "fatal" parameter
[gitweb.git]
/
builtin
/
init-db.c
diff --git
a/builtin/init-db.c
b/builtin/init-db.c
index 49df78d2624d58a29173e4e3a881af0b0e37b7c5..bfe1d08234ddeae1b36d2dc4447a933123cbda1c 100644
(file)
--- a/
builtin/init-db.c
+++ b/
builtin/init-db.c
@@
-378,7
+378,7
@@
static void separate_git_dir(const char *git_dir)
die_errno(_("unable to move %s to %s"), src, git_dir);
}
- write_file(git_link,
1,
"gitdir: %s\n", git_dir);
+ write_file(git_link, "gitdir: %s\n", git_dir);
}
int init_db(const char *template_dir, unsigned int flags)