1 |
commit: be0c5373d859a7421836189626b0b39d74a6534a |
2 |
Author: André Erdmann <dywi <AT> mailerd <DOT> de> |
3 |
AuthorDate: Fri Aug 2 10:14:30 2013 +0000 |
4 |
Commit: André Erdmann <dywi <AT> mailerd <DOT> de> |
5 |
CommitDate: Fri Aug 2 10:14:30 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=be0c5373 |
7 |
|
8 |
files/hooks/git-commit-overlay: don't exit |
9 |
|
10 |
typo fix, hooks have to return instead of exiting |
11 |
|
12 |
--- |
13 |
files/hooks/git-commit-overlay.sh | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/files/hooks/git-commit-overlay.sh b/files/hooks/git-commit-overlay.sh |
17 |
index ebac032..d8b936c 100644 |
18 |
--- a/files/hooks/git-commit-overlay.sh |
19 |
+++ b/files/hooks/git-commit-overlay.sh |
20 |
@@ -101,7 +101,7 @@ if [ ! -e "${S}/.git" ]; then |
21 |
# git_has_changes() does not work for new repos |
22 |
elif ! git_has_changes; then |
23 |
veinfo "${SCRIPT_NAME}: nothing to do." |
24 |
- exit 0 |
25 |
+ return 0 |
26 |
fi |