summaryrefslogtreecommitdiff
path: root/ui-commit.h
blob: 40bcb311502fa9f79cf94866af0352f9c649c4ec (plain)
1
2
3
4
5
6
#ifndef UI_COMMIT_H
#define UI_COMMIT_H

extern void cgit_print_commit(char *hex);

#endif /* UI_COMMIT_H */
Wieland Hoffmann1-3/+2 xclip will return a non-zero exit code if $DISPLAY is not set, which might happen, for example, if you're running pass in a tmux session remotely or something like that. xclip itself will also show an error message ("Can't open display") which provides enough context to figure out what the problem is. There might be other reasons for xclip to return a non-zero exit code, but the man page doesn't list them. 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3