~mdw
/
tig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Discard error messages from git-describe
[tig]
/
tig.c
diff --git
a/tig.c
b/tig.c
index
8d5f656
..
7172449
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-2311,7
+2311,7
@@
add_describe_ref(char *buf, size_t *bufpos, char *commit_id, const char *sep)
char *ref = NULL;
FILE *pipe;
- if (!string_format(refbuf, "git describe %s", commit_id))
+ if (!string_format(refbuf, "git describe %s
2>/dev/null
", commit_id))
return TRUE;
pipe = popen(refbuf, "r");