git.droids-corp.org
/
git-central.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix post-receive-email test for USER_EMAIL variable.
[git-central.git]
/
scripts
/
gc-push
1
#!/bin/sh
2
3
. $(dirname $0)/functions
4
5
set_branch_name
6
if [ "$branch_name" == "" ] ; then
7
echo "Not on a branch"
8
exit 1
9
fi
10
11
git push origin $branch_name
12
if [[ $? -ne 0 ]] ; then
13
exit $?
14
fi
15
16
# ...tags...
17