from
is not nil but ""
on shallow clone [ci skip]
This commit is contained in:
parent
151b7d72bd
commit
c222f4d31f
@ -490,7 +490,7 @@ class VCS
|
||||
end
|
||||
rev unless rev.empty?
|
||||
end
|
||||
unless (from ||= branch_beginning(url))
|
||||
unless /./.match?(from ||= branch_beginning(url))
|
||||
raise "cannot find the beginning revision of the branch"
|
||||
end
|
||||
range = [from, (to || 'HEAD')].join('^..')
|
||||
|
Loading…
x
Reference in New Issue
Block a user