Perry Myers
2008-Sep-13 15:22 UTC
[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 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
Jim Meyering
2008-Sep-14 17:41 UTC
[Ovirt-devel] [PATCH release] Add subject prefix config to update target
Perry Myers <pmyers at redhat.com> wrote:> 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]...> + @cd $@ && git config format.subjectprefix "PATCH $@"ACK. definitely worth it.