summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8536cc8)
raw | patch | inline | side by side (parent: 8536cc8)
author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 30 Sep 2008 14:21:42 +0000 (16:21 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 30 Sep 2008 14:21:42 +0000 (16:21 +0200) |
NEWS | patch | blob | history | |
tig.c | patch | blob | history |
index 59274da232460f89610968da7e6a436b12fd0a24..3699097ef00077972db252c05eec5f33d399354c 100644 (file)
--- a/NEWS
+++ b/NEWS
Improvements:
- Checkout files with unstaged changes. Bound to '!' by default.
+ - Main: use --topo-order also when rev-list arguments are given on the
+ command line.
tig-0.12
--------
index 7831536366d96e439d0037aaf1f76204f1e0151d..26cd2ef386a15f58754a6f8ff915e51578047e40 100644 (file)
--- a/tig.c
+++ b/tig.c
#define TIG_LOG_CMD \
"git log --no-color --cc --stat -n100 %s 2>/dev/null"
+#define TIG_MAIN_BASE \
+ "git log --no-color --pretty=raw --parents --topo-order"
+
#define TIG_MAIN_CMD \
- "git log --no-color --topo-order --parents --pretty=raw %s 2>/dev/null"
+ TIG_MAIN_BASE " %s 2>/dev/null"
#define TIG_TREE_CMD \
"git ls-tree %s %s"
if (!subcommand)
/* XXX: This is vulnerable to the user overriding
* options required for the main view parser. */
- string_copy(opt_cmd, "git log --no-color --pretty=raw --parents");
+ string_copy(opt_cmd, TIG_MAIN_BASE);
else
string_format(opt_cmd, "git %s", subcommand);