diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-09 00:42:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-09 00:42:23 -0700 |
commit | 769f60aed3906ba9cd1151731f2551087cc8502f (patch) | |
tree | 7f87c2b7b6c63f616dec3d70487b572f7f92dd42 /var.c | |
parent | Merge branch 'jc/rebase' (diff) | |
parent | send-email: Don't require to be called in a repository (diff) | |
download | tgif-769f60aed3906ba9cd1151731f2551087cc8502f.tar.xz |
Merge branch 'fl/send-email-outside'
* fl/send-email-outside:
send-email: Don't require to be called in a repository
Git.pm: Don't require repository instance for ident
Git.pm: Don't require a repository instance for config
var: Don't require to be in a git repository.
Diffstat (limited to 'var.c')
-rw-r--r-- | var.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,11 +51,12 @@ static int show_config(const char *var, const char *value) int main(int argc, char **argv) { const char *val; + int nongit; if (argc != 2) { usage(var_usage); } - setup_git_directory(); + setup_git_directory_gently(&nongit); val = NULL; if (strcmp(argv[1], "-l") == 0) { |