Introduction
Introduction Statistics Contact Development Disclaimer Help
tsuppress meaningless error codes when a repo can't be opened (similar to stagi…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 671f4e91007a149e88b57788fc76059fbeac152e
parent bc7515e2dcd820b1b5b73f4e6e61e813ae01959f
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 29 Apr 2016 16:39:33 +0200
suppress meaningless error codes when a repo can't be opened (similar to stagit…
Diffstat:
M stagit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -893,7 +893,7 @@ main(int argc, char *argv[])
if ((status = git_repository_open_ext(&repo, repodir,
GIT_REPOSITORY_OPEN_NO_SEARCH, NULL)) < 0) {
e = giterr_last();
- fprintf(stderr, "error %d/%d: %s\n", status, e->klass, e->mess…
+ fprintf(stderr, "%s: %s\n", argv[0], e->message);
return status;
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.