Skip to content
Browse files

filtering tag name according to 'git-check-ref-format'

  • Loading branch information...
1 parent ef533e4 commit 26cb0c4bf8bca6cb046c86a791de47a7b3b155bf nenopera committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 darcs-to-git
View
2 darcs-to-git 100755 → 100644
@@ -293,7 +293,7 @@ class DarcsPatch
def safe_patch_name(darcs_name)
# See 'man git-check-ref-format'
- darcs_name.gsub(/(?:[\s:*]+|\.{2,}|\#\{|^\.|\.$)/, '_')
+ darcs_name.gsub(/(?:[\s:*]+|\.{2,}|\#\{|^\.|\.$)|~/, '_')
end
def <=>(other)

0 comments on commit 26cb0c4

Please sign in to comment.
Something went wrong with that request. Please try again.