projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
51b1c03
fb687a1
)
Merge pull request #109 from totten/gitify-pre-commit
author
Kurund Jalmi
<kurund@civicrm.org>
Mon, 11 Mar 2013 04:05:47 +0000
(21:05 -0700)
committer
Kurund Jalmi
<kurund@civicrm.org>
Mon, 11 Mar 2013 04:05:47 +0000
(21:05 -0700)
gitify: Setup pre-commit hook
1
2
bin/gitify
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
bin/gitify
index f905d00eba32aa37731c41641e4473c18cc86f4b,5e8478aa5c35174ea8628b4d8a46b2327bf6ad34..c17d8eeb626990763423d9a6e59975454d8c0327
---
1
/
bin/gitify
---
2
/
bin/gitify
+++ b/
bin/gitify
@@@
-51,13
-72,10
+72,13
@@@
function do_svnify()
}
function check_dep() {
- if [ -z
`which git`
]; then
+ if [ -z
"`which git`"
]; then
echo "command not found: git"
- exit
+ exit
3
fi
+ if [ -z `which php` ]; then
+ echo "command not found: php"
+ fi
}
#### Main ####