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.
This commit is contained in:
Linus Torvalds 2005-07-08 14:24:25 -07:00
parent 584c6cc91a
commit 51cb06c36d
3 changed files with 4 additions and 1 deletions

View file

@ -34,7 +34,7 @@ SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
git-log-script git-shortlog git-cvsimport-script git-diff-script \
git-reset-script git-add-script git-checkout-script git-clone-script \
gitk git-cherry git-rebase-script git-relink-script git-repack-script \
git-format-patch-script git-sh-setup-script
git-format-patch-script git-sh-setup-script git-push-script
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \

3
git-push-script Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
. git-sh-setup-script || die "Not a git archive"
git-send-pack "$@"

0
git-sh-setup-script Normal file → Executable file
View file