commit | 499b46820966e11a03bc3fb6c2401c1dd69a7f7d | [log] [tgz] |
---|---|---|
author | Vincent Driessen <vincent@datafox.nl> | 周日 4月 17 08:32:37 2011 +0200 |
committer | Vincent Driessen <vincent@datafox.nl> | 周日 4月 17 08:32:37 2011 +0200 |
tree | b71cb98a30f5c6540e453ed37ed0efddecfbccf1 | |
parent | 2f05c3c8bd68b6101575dcadeeead0a6a532a4db [diff] | |
parent | 8f280e0b55911d84bd2a8550aef3b9e02d53787d [diff] |
Merge branch 'develop' of https://github.com/jezdez/gitflow into develop
diff --git a/gitflow-common b/gitflow-common index 75eb210..27e7a06 100644 --- a/gitflow-common +++ b/gitflow-common
@@ -288,9 +288,11 @@ } require_tag_absent() { - if has $1 $(git_all_tags); then - die "Tag '$1' already exists. Pick another name." - fi + for tag in $(git_all_tags); do + if [ "$1" = "$tag" ]; then + die "Tag '$1' already exists. Pick another name." + fi + done } require_branches_equal() {