projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac9194
)
git: Make git-wrapper exit if repos creation fails.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 13 Aug 2009 09:52:06 +0000
(11:52 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 13 Aug 2009 09:52:06 +0000
(11:52 +0200)
usr/local/bin/git-wrapper
patch
|
blob
|
history
diff --git
a/usr/local/bin/git-wrapper
b/usr/local/bin/git-wrapper
index 6896ec8904e6dfe0677522564effdbb36a1868c7..570a47d2d737a82fcfda6365bd311a205b9ad2b5 100755
(executable)
--- a/
usr/local/bin/git-wrapper
+++ b/
usr/local/bin/git-wrapper
@@
-37,7
+37,7
@@
do
# When the client wants us to receive a pack, create the git
# repository if it does not exist yet
if [ "`basename $0`" = "git-receive-pack" -a ! -e "$DIR" ]; then
- init_repos "$DIR"
+ init_repos "$DIR"
|| exit 1
fi
ARGS[$i]="$DIR"
else