Skip to content

Commit d978766

Browse files
committed
Add support for unshallow
Signed-off-by: Stephen Paul Weber <singpolyma@singpolyma.net>
1 parent f911c26 commit d978766

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
@@ -745,6 +745,7 @@ def fetch(remote, opts)
745745
arr_opts << opts[:ref] if opts[:ref]
746746
arr_opts << '--tags' if opts[:t] || opts[:tags]
747747
arr_opts << '--prune' if opts[:p] || opts[:prune]
748+
arr_opts << '--unshallow' if opts[:unshallow]
748749

749750
command('fetch', arr_opts)
750751
end

0 commit comments

Comments
 (0)