Class: Rfix::Branch::Head

Inherits:
Base
  • Object
show all
Defined in:
lib/rfix/branch/head.rb

Instance Method Summary collapse

Instance Method Details

#resolveObject



6
7
8
# File 'lib/rfix/branch/head.rb', line 6

def resolve
  repository.lookup(repository.head.target_id)
end

#to_sObject



10
11
12
# File 'lib/rfix/branch/head.rb', line 10

def to_s
  "HEAD"
end