diff --git a/hash-object.c b/hash-object.c
index 0a7ac2fe2adf820a171898b9e51b245c063018cc..46c06a9552dac5475afc607c3fe2bf00801eb055 100644 (file)
--- a/hash-object.c
+++ b/hash-object.c
}
static const char hash_object_usage[] =
-"git-hash-object [ [-t <type>] [-w] [--stdin] <file>... | --stdin-paths < <list-of-paths> ]";
+"git hash-object [ [-t <type>] [-w] [--stdin] <file>... | --stdin-paths < <list-of-paths> ]";
int main(int argc, char **argv)
{
int hashstdin = 0;
int stdin_paths = 0;
- git_config(git_default_config);
+ git_config(git_default_config, NULL);
for (i = 1 ; i < argc; i++) {
if (!no_more_flags && argv[i][0] == '-') {