fix merge typo

This commit is contained in:
pooya parsa 2019-05-09 11:44:55 +04:30
parent 80f0a25e67
commit c1435df125

View File

@ -72,11 +72,6 @@ async function getCurrentGitBranch() {
return r return r
} }
async function getCurrentGitBranch() {
const r = await execCommand('git', ['rev-parse', '--abbrev-ref', 'HEAD'])
return r
}
async function getGitDiff(from, to) { async function getGitDiff(from, to) {
// # https://git-scm.com/docs/pretty-formats // # https://git-scm.com/docs/pretty-formats
const r = await execCommand('git', ['--no-pager', 'log', `${from}...${to}`, '--pretty=%s|%h|%an|%ae']) const r = await execCommand('git', ['--no-pager', 'log', `${from}...${to}`, '--pretty=%s|%h|%an|%ae'])