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:
19c3ac6
)
Discard error messages from git-describe
author
Jonas Fonseca
<fonseca@diku.dk>
Mon, 4 Dec 2006 23:30:55 +0000
(
00:30
+0100)
committer
Jonas Fonseca
<fonseca@diku.dk>
Mon, 4 Dec 2006 23:30:55 +0000
(
00:30
+0100)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 8d5f6563d85809a1f2fc80a2e03b7cd47304550e..71724493808f1e37e9a276c352872676889e0a26 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");