diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 14:24:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 14:24:25 -0700 |
commit | 51cb06c36de67007f3464d864f63d93213fcaf86 (patch) | |
tree | 1d7baad2ead40bc7c0089b5996f740b6577a27ec | |
parent | 584c6cc91a61ec615419452ca540041be6ba9f38 (diff) | |
download | git-51cb06c36de67007f3464d864f63d93213fcaf86.tar.gz git-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.
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | git-push-script | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | git-sh-setup-script | 0 |
3 files changed, 4 insertions, 1 deletions
@@ -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 \ diff --git a/git-push-script b/git-push-script new file mode 100755 index 000000000..80e922bb5 --- /dev/null +++ b/git-push-script @@ -0,0 +1,3 @@ +#!/bin/sh +. git-sh-setup-script || die "Not a git archive" +git-send-pack "$@" diff --git a/git-sh-setup-script b/git-sh-setup-script index 660c524ce..660c524ce 100644..100755 --- a/git-sh-setup-script +++ b/git-sh-setup-script |