[SCM] hydrogen-drumkits/master: Include git-buildpackage helper script postclone.sh with source.
js at users.alioth.debian.org
js at users.alioth.debian.org
Fri Jul 21 10:36:15 UTC 2017
The following commit has been merged in the master branch:
commit ab0ca8bf58c0e5baf68dcee7e1f111e752c4d959
Author: Jonas Smedegaard <dr at jones.dk>
Date: Fri Jul 21 12:04:11 2017 +0200
Include git-buildpackage helper script postclone.sh with source.
diff --git a/debian/gbp/postclone.sh b/debian/gbp/postclone.sh
new file mode 100755
index 0000000..5790ec6
--- /dev/null
+++ b/debian/gbp/postclone.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+## script to initialize a cloned repository
+## with per (local) repository settings.
+
+# - ignore quilt's .pc/ directory
+# - enable the "--follow-tags" mode for pushing
+
+echo "tuning git-repository for ${NAME}"
+git config push.followTags true && echo "enabled push.followTags"
+
+GITEXCLUDE=".git/info/exclude"
+egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \
+ || (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/")
--
hydrogen-drumkits packaging
More information about the pkg-multimedia-commits
mailing list