Skip to content

Commit

Permalink
Fix using author-date and author-name instead of commit-date and comm…
Browse files Browse the repository at this point in the history
…it-name
  • Loading branch information
Jerome Döring authored and Jerome Döring committed Feb 18, 2016
1 parent d1c9979 commit 5a72060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/gitInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ module.exports = function (grunt) {
'local.branch.current.SHA' : ['rev-parse', 'HEAD'],
'local.branch.current.shortSHA' : ['rev-parse', '--short', 'HEAD'],
'local.branch.current.currentUser' : ['config', '--global', 'user.name'],
'local.branch.current.lastCommitTime' : ['log', '--format="%ai"', '-n1', 'HEAD'],
'local.branch.current.lastCommitTime' : ['log', '--format="%ci"', '-n1', 'HEAD'],
'local.branch.current.lastCommitMessage' : ['log', '--format="%B"', '-n1', 'HEAD'],
'local.branch.current.lastCommitAuthor' : ['log', '--format="%aN"', '-n1', 'HEAD'],
'local.branch.current.lastCommitAuthor' : ['log', '--format="%cN"', '-n1', 'HEAD'],
'local.branch.current.lastCommitNumber' : ['rev-list', '--count', 'HEAD'],
'remote.origin.url' : ['config', '--get-all', 'remote.origin.url']
}
Expand Down

0 comments on commit 5a72060

Please sign in to comment.