summaryrefslogtreecommitdiff
path: root/pbs-package-commit
diff options
context:
space:
mode:
Diffstat (limited to 'pbs-package-commit')
-rwxr-xr-xpbs-package-commit15
1 files changed, 6 insertions, 9 deletions
diff --git a/pbs-package-commit b/pbs-package-commit
index 0f52401..7af6fc5 100755
--- a/pbs-package-commit
+++ b/pbs-package-commit
@@ -7,8 +7,11 @@ usage() {
echo "Usage: $cmd [git-commit OPTIONS]"
echo 'Commits to a package (run from the package directory).'
echo ''
- echo 'This is the same as `git commit`, but cascades up out of the'
- echo 'submodule.'
+ echo 'This is like `git commit`, but cascades up out of the submodule.'
+ echo 'It is simply:'
+ echo
+ echo ' git commit "$@"'
+ echo ' pbs-package-postcommit'
echo ''
echo 'Options:'
echo ' -h Show this message'
@@ -26,13 +29,7 @@ main() {
ensure_in_pbs-package
git commit "$@"
- git push
- local msg="$(git log -n1 --pretty=format:%B)"
- local dir="$(pwd)"
-
- cdto_pbs-root
- git add "${dir##*/}"
- git commit -m "$msg"
+ pbs-package-postcommit
}
main "$@"