pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

git-package.mk: Ignore nonlocal branches



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Oct 21 06:03:19 2015 +0200
Changeset:	a9777122b060bf0b1133f17acb94073d30b1aa40

Modified Files:
	mk/git-package.mk

Log Message:
git-package.mk: Ignore nonlocal branches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a9777122b060bf0b1133f17acb94073d30b1aa40

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mk/git-package.mk | 1 +
 1 file changed, 1 insertion(+)

diffs:
diff --git a/mk/git-package.mk b/mk/git-package.mk
index d038278..57b3d77 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -103,6 +103,7 @@ _GIT_DEREF_HEAD_PTR_SHA1_CMD=				\
 	${GIT_REPO.${repo}:Q}				\
 	| grep -v '[^[:graph:]]HEAD[^[:graph:]]*$$'	\
 	| grep "${_GIT_HEAD_PTR_SHA1}"			\
+	| grep "[^[:graph:]]refs/heads/"		\
 	| cut -f2					\
 	| sed 's!^refs/heads/!!'
 ${_GIT_DEREF_HEAD_PTR_SHA1_CMD}


Home | Main Index | Thread Index | Old Index