Dear diary, on Sat, May 27, 2006 at 12:25:39PM CEST, I got a letter where Matthias Lederhofer <matled@xxxxxxx> said that... > f61e19360f9b5965dda1ae762ffdab8ede860430 > diff --git a/builtin-init-db.c b/builtin-init-db.c > index 2a1384c..cf5bd39 100644 > --- a/builtin-init-db.c > +++ b/builtin-init-db.c > @@ -253,6 +253,9 @@ int cmd_init_db(int argc, const char **a > die(init_db_usage); > } > > + if (!template_dir) > + template_dir = getenv("GIT_TEMPLATE_DIR"); > + > /* > * Set up the default .git directory contents > */ Please document such changes, in the spirit of diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt index 8a150d8..378810e 100644 --- a/Documentation/git-init-db.txt +++ b/Documentation/git-init-db.txt @@ -15,6 +15,8 @@ OPTIONS ------- --template=<template_directory>:: Provide the directory from which templates will be used. + If not specified, the value of the `GIT_TEMPLATE_DIR` environment + variable is used instead. The default template directory is `/usr/share/git-core/templates`. --shared:: (Signed-off-by: Petr Baudis <pasky@xxxxxxx>, whatever...) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ A person is just about as big as the things that make them angry. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html