[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]