summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 251acae)
raw | patch | inline | side by side (parent: 251acae)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 13:24:44 +0000 (15:24 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 13:24:44 +0000 (15:24 +0200) |
It will cause git ls-remote to print an error message.
tig.c | patch | blob | history |
index c41f2b2acb054b956151b0da5135b30cb87cabe8..39cc3408d118fe9f18c2354cfec9ce025793c0bb 100644 (file)
--- a/tig.c
+++ b/tig.c
die("Failed to initialize character set conversion");
}
- if (load_refs() == ERR)
+ if (*opt_git_dir && load_refs() == ERR)
die("Failed to load refs.");
for (i = 0; i < ARRAY_SIZE(views) && (view = &views[i]); i++)