Skip to content

Commit

Permalink
fixed handling of branches with no parents
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jan 28, 2009
1 parent 03da4ec commit 3ff600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-wtf
Expand Up @@ -125,7 +125,7 @@ $branches.each do |name, branch|
$branches[name][:parent] = begin
merge = branch[:merge]
remote = merge[:remote] == '.' ? $branches : $remotes[merge[:remote]]
remote[merge[:branch]]
remote ? remote[merge[:branch]] : nil
end
end

Expand Down

0 comments on commit 3ff600a

Please sign in to comment.