[Ovirt-devel] [PATCH release] Add subject prefix config to update target

Perry Myers pmyers at redhat.com
Sat Sep 13 15:22:45 UTC 2008


This allows git format-patch to generate subject prefixes that
are specific to each of the oVirt repositories making it easier
to see what repo a patch is intended for.  i.e.

[PATCH appliance]

Signed-off-by: Perry Myers <pmyers at redhat.com>
---
 ovirt.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ovirt.mk b/ovirt.mk
index ea5d6fa..b72fbac 100644
--- a/ovirt.mk
+++ b/ovirt.mk
@@ -38,6 +38,7 @@ $(SUBDIRS):
 	@test -d $@ && : || git clone $(OVIRT_GIT_SERVER)/ovirt-$@ $@
 	@cd $@ && { test "$(OVIRT_BRANCH)" = "master" || \
 	  git config remote.origin.fetch +$(OVIRT_BRANCH):$(OVIRT_BRANCH) ; }
+	@cd $@ && git config format.subjectprefix "PATCH $@"
 	@cd $@ && git pull -v && git checkout $(OVIRT_BRANCH)
 
 clean distclean bumpgit bumprelease bumpversion:
-- 
1.5.5.1




More information about the ovirt-devel mailing list