| commit | 1b471a66b43ee95067b53937c62dc42d4bc561e6 | [log] [tgz] |
|---|---|---|
| author | Vincent Driessen <vincent@datafox.nl> | 周五 2月 04 08:25:38 2011 +0100 |
| committer | Vincent Driessen <vincent@datafox.nl> | 周五 2月 04 08:28:54 2011 +0100 |
| tree | a00db04199b0035702dba402b8c41843f5a3617d | |
| parent | 0f74cf4f8d8a78f16a112ef28425b75aefeaea1f [diff] |
Escape characters from tags that have special meaning in grep.
In particular, this fixes the case where a dot in a version name (not
too uncommon ;)) unintentionally matches a pre-existing tag. For
example, if these tags exist:
1.0.1
1.0b2
And you try to start a new release for 1.0.2, git-flow prevented it,
since the '.' matches the 'b' in 1.0b2. This resulted in the invalid
error message:
Tag '1.0.2' already exists. Pick another name.