Skip to content

Commit 7d5690a

Browse files
Merge branch 'patch-1' of git://github.com/gabriel-cardoso/ruby-git into gabriel-cardoso-patch-1
2 parents 9e05a0a + 7b15570 commit 7d5690a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ def conflicts # :yields: file, your, their
528528
def remote_add(name, url, opts = {})
529529
arr_opts = ['add']
530530
arr_opts << '-f' if opts[:with_fetch]
531+
arr_opts << '-t' << opts[:with_track] if opts[:with_track]
531532
arr_opts << '--'
532533
arr_opts << name
533534
arr_opts << url

0 commit comments

Comments
 (0)