summaryrefslogtreecommitdiff
path: root/git-push-script
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-08 14:24:25 -0700
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-08 14:24:25 -0700
commit51cb06c36de67007f3464d864f63d93213fcaf86 (patch)
tree1d7baad2ead40bc7c0089b5996f740b6577a27ec /git-push-script
parentTeach 'git-send-pack' to send new branches and tags. (diff)
downloadtgif-51cb06c36de67007f3464d864f63d93213fcaf86.tar.xz
Add "git-push-script" to make a more regular interface
It only does local and ssh pushes, because it's really just a wrapper for git-send-pack. We might make it do an rsync mirror or something, of course.
Diffstat (limited to 'git-push-script')
-rwxr-xr-xgit-push-script3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-push-script b/git-push-script
new file mode 100755
index 0000000000..80e922bb5d
--- /dev/null
+++ b/git-push-script
@@ -0,0 +1,3 @@
+#!/bin/sh
+. git-sh-setup-script || die "Not a git archive"
+git-send-pack "$@"