I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

0004-GIT-URLs-may-have-the-extension-.git-when.patch

Elektritter Messinger, 06 May 2014 12:12

Download (914 Bytes)

View differences:

lib/creator/git_creator.rb
23 23
        end
24 24

  
25 25
        def external_url(name, regexp = %r{^(?:https?|git|ssh)://})
26
            super
26
            if options['git_ext'] && File.directory?("#{path(name)}.git")
27
              super+".git"
28
            else
29
              super
30
            end
27 31
        end
28 32

  
29 33
        def default_path(identifier)
30
- 
Terms of use | Privacy policy