chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
965537f
)
Use ~/.tigrc for user configuration rather than ~/.tig
author
Jonas Fonseca
<fonseca@diku.dk>
Mon, 29 May 2006 01:01:27 +0000
(
03:01
+0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Mon, 29 May 2006 01:01:27 +0000
(
03:01
+0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 94af086fc718fa1f6eb6d985292a2c3581a45617..c7a784251edb7779f49c9a8a9b38d6921f1cda4b 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-562,7
+562,7
@@
parse_options(int argc, char *argv[])
/**
* FILES
* -----
/**
* FILES
* -----
- * '~/.tig'::
+ * '~/.tig
rc
'::
* User configuration file. See "<<config-options, Configuration options>>"
* section for examples.
*
* User configuration file. See "<<config-options, Configuration options>>"
* section for examples.
*
@@
-574,7
+574,7
@@
parse_options(int argc, char *argv[])
* [[config-options]]
* User Configuration file
* -----------------------
* [[config-options]]
* User Configuration file
* -----------------------
- * You can permanently set an option by putting it in the `~/.tig` file.
+ * You can permanently set an option by putting it in the `~/.tig
rc
` file.
* The file consists of a series of 'commands'. Each
* line of the file may contain only one command.
*
* The file consists of a series of 'commands'. Each
* line of the file may contain only one command.
*
@@
-944,7
+944,7
@@
load_options(void)
config_errors = FALSE;
if (!home ||
config_errors = FALSE;
if (!home ||
- snprintf(buf, sizeof(buf), "%s/.tig", home) >= sizeof(buf))
+ snprintf(buf, sizeof(buf), "%s/.tig
rc
", home) >= sizeof(buf))
return ERR;
/* It's ok that the file doesn't exist. */
return ERR;
/* It's ok that the file doesn't exist. */