Skip to content

Commit

Permalink
git-buildmsg example: do print msg if git used
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Mar 18, 2011
1 parent 8cfa7be commit 9878fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-buildmsg/git-buildmsg.in
Expand Up @@ -267,7 +267,7 @@ int main(int argc, char *argv[])
const char *const prog = (idx)?(idx+1):(argv[0]);
#ifdef PACKAGE_VERSION
printf("%s: version %s, built from %s\n", prog, PACKAGE_VERSION, GIT_MESSAGE);
#elif defined(GIT_USED)
#elif defined(GIT_IS_GIT_WORKTREE)
printf("%s: built from %s\n", prog, GIT_MESSAGE);
#endif
return 0;
Expand Down

0 comments on commit 9878fb8

Please sign in to comment.