Skip to contentSkip to conversation

Add git-format-patch-script.

PATCH New Junio C Hamano 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add git-format-patch-script.

The script takes two HEADs and optionally one directory name, and prepares a patch file for each commit between the named HEADS in a separate file in the named directory. The directory defaults to the $cwd.

This is in the same spirit as the recent additions of helper scripts to make core GIT plumbing more comfortable to use.

---

 Makefile                |    3 +-
 git-format-patch-script |   66 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+), 1 deletions(-)
Makefile +2 -1
@@ -22,7 +22,8 @@ INSTALL=install
 
 SCRIPTS=git-apply-patch-script git-merge-one-file-script git-prune-script \
 	git-pull-script git-tag-script git-resolve-script git-whatchanged \
-	git-deltafy-script git-fetch-script git-status-script git-commit-script
+	git-deltafy-script git-fetch-script git-status-script \
+	git-commit-script git-format-patch-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 \
git-format-patch-script new file +66 -0

66 lines not on this page · raw message

------------