mirror of
https://github.com/redmine/redmine.git
synced 2026-08-04 22:40:22 +02:00
scm: git: add new one latin1 tag to test repository (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -101,7 +101,7 @@ module Redmine
|
||||
@tags = []
|
||||
cmd_args = %w|tag|
|
||||
git_cmd(cmd_args) do |io|
|
||||
@tags = io.readlines.sort!.map{|t| t.strip}
|
||||
@tags = io.readlines.sort!.map{|t| scm_iconv('UTF-8', @path_encoding, t.strip)}
|
||||
end
|
||||
@tags
|
||||
rescue ScmCommandAborted
|
||||
|
||||
BIN
test/fixtures/repositories/git_repository.tar.gz
vendored
BIN
test/fixtures/repositories/git_repository.tar.gz
vendored
Binary file not shown.
@@ -126,6 +126,7 @@ class GitAdapterTest < ActiveSupport::TestCase
|
||||
assert_equal [
|
||||
"tag00.lightweight",
|
||||
"tag01.annotated",
|
||||
"tag02.lightweight.#{@char_1}.01"
|
||||
], @adapter.tags
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user