Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Fix bug in GetCommitInfos #57

Merged
merged 1 commit into from
Jun 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tree_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func getNextCommitInfos(state *getCommitInfoState) error {
func logCommand(exclusiveStartHash string, state *getCommitInfoState) *Command {
var commitHash string
if len(exclusiveStartHash) == 0 {
commitHash = "HEAD"
commitHash = state.headCommit.ID.String()
} else {
commitHash = exclusiveStartHash + "^"
}
Expand Down