Skip to content

Commit

Permalink
Merge pull request #304 from jhadvig/long_commitID
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Oct 8, 2015
2 parents e56d6e5 + fce2247 commit 1fd4429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scm/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (h *stiGit) GetInfo(repo string) *api.SourceInfo {
return &api.SourceInfo{
Location: git("config", "--get", "remote.origin.url"),
Ref: git("rev-parse", "--abbrev-ref", "HEAD"),
CommitID: git("rev-parse", "--short", "--verify", "HEAD"),
CommitID: git("rev-parse", "--verify", "HEAD"),
Author: git("--no-pager", "show", "-s", "--format=%an <%ae>", "HEAD"),
Date: git("--no-pager", "show", "-s", "--format=%ad", "HEAD"),
Message: git("--no-pager", "show", "-s", "--format=%<(80,trunc)%s", "HEAD"),
Expand Down

0 comments on commit 1fd4429

Please sign in to comment.