Skip to content

Commit

Permalink
Remove the --first-parent option from log list generation (#13)
Browse files Browse the repository at this point in the history
`--first-parent` can lose commits in a workflow with multiple merges to reach
the branch where changelogs are generated.
  • Loading branch information
gigabo authored and hzoo committed Jun 1, 2016
1 parent 8d72e8c commit ec00e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default class Changelog {

getListOfCommits() {
var lastTag = this.getLastTag();
var commits = execSync("git log --first-parent --oneline " + lastTag + "..").split("\n");
var commits = execSync("git log --oneline " + lastTag + "..").split("\n");
return commits;
}

Expand Down

0 comments on commit ec00e97

Please sign in to comment.