mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
add a grep to be sure we only check the origin remote (no forks)
This commit is contained in:
parent
7707c61e83
commit
b2f5375fcf
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ else
|
||||||
else
|
else
|
||||||
branches=("${branches[@]}" "$branch")
|
branches=("${branches[@]}" "$branch")
|
||||||
fi
|
fi
|
||||||
done <<< "$(git branch -r --contains HEAD | sed 's#origin/##g')"
|
done <<< "$(git branch -r --contains HEAD | grep '^\s\+origin/'| sed 's#origin/##g')"
|
||||||
fi
|
fi
|
||||||
while read -r fsha fname ; do
|
while read -r fsha fname ; do
|
||||||
if [ ".${fsha}" = ".da39a3ee5e6b4b0d3255bfef95601890afd80709" ]; then
|
if [ ".${fsha}" = ".da39a3ee5e6b4b0d3255bfef95601890afd80709" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue