summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e97cce1)
raw | patch | inline | side by side (parent: e97cce1)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 20 Mar 2008 18:27:44 +0000 (19:27 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 20 Mar 2008 18:27:44 +0000 (19:27 +0100) |
tig.c | patch | blob | history |
index b3a4e8d60819077c8683233a483a887168795498..36f03c2a4cd9a2823da14e38bba88d1550a59bed 100644 (file)
--- a/tig.c
+++ b/tig.c
opt_cmd[buf_size] = 0;
}
- if (*opt_encoding && strcasecmp(opt_encoding, "UTF-8"))
- opt_utf8 = FALSE;
-
return TRUE;
}
if (!opt_git_dir[0])
die("Not a git repository");
+ if (*opt_encoding && strcasecmp(opt_encoding, "UTF-8"))
+ opt_utf8 = FALSE;
+
if (*opt_codeset && strcmp(opt_codeset, opt_encoding)) {
opt_iconv = iconv_open(opt_codeset, opt_encoding);
if (opt_iconv == ICONV_NONE)