class Bundler::Source::Git
def humanized_ref
def humanized_ref if local? path elsif user_ref = options["ref"] if /\A[a-z0-9]{4,}\z/i.match?(ref) shortref_for_display(user_ref) else user_ref end elsif ref ref end end
def humanized_ref if local? path elsif user_ref = options["ref"] if /\A[a-z0-9]{4,}\z/i.match?(ref) shortref_for_display(user_ref) else user_ref end elsif ref ref end end