Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xgit-push-script3
-rwxr-xr-x[-rw-r--r--]git-sh-setup-script0
3 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6e90d8f4e8..e142c2c453 100644
--- a/Makefile
+++ b/Makefile
@@ -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 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 "$@"
diff --git a/git-sh-setup-script b/git-sh-setup-script
index 660c524ce8..660c524ce8 100644..100755
--- a/git-sh-setup-script
+++ b/git-sh-setup-script