lib/origen/revision_control/git.rb in origen-0.41.2 vs lib/origen/revision_control/git.rb in origen-0.42.0
- old
+ new
@@ -146,10 +146,11 @@
end
# Returns true if the current user can checkin to the given repo (means has permission
# to push in Git terms)
def can_checkin?
- git('push --dry-run', verbose: false)
+ # dry run attempting to create a new remote branch named OrigenWritePermissionsTest
+ git('push --dry-run origin origin:refs/heads/OrigenWritePermissionsTest', verbose: false)
true
rescue
false
end