chiark
/
gitweb
/
~mdw
/
tig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence stderr for all view commands
[tig]
/
tig.c
diff --git
a/tig.c
b/tig.c
index f110dae0ec4e493777b5aa9d13d5919f9d85aa55..b2e1a36057fba5cb067edfc519872c199f30aefc 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-74,13
+74,13
@@
static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
"git ls-remote . 2>/dev/null"
#define TIG_DIFF_CMD \
"git ls-remote . 2>/dev/null"
#define TIG_DIFF_CMD \
- "git show --patch-with-stat --find-copies-harder -B -C %s"
+ "git show --patch-with-stat --find-copies-harder -B -C %s
2>/dev/null
"
#define TIG_LOG_CMD \
#define TIG_LOG_CMD \
- "git log --cc --stat -n100 %s"
+ "git log --cc --stat -n100 %s
2>/dev/null
"
#define TIG_MAIN_CMD \
#define TIG_MAIN_CMD \
- "git log --topo-order --pretty=raw %s"
+ "git log --topo-order --pretty=raw %s
2>/dev/null
"
/* XXX: Needs to be defined to the empty string. */
#define TIG_HELP_CMD ""
/* XXX: Needs to be defined to the empty string. */
#define TIG_HELP_CMD ""