Skip to content

Commit

Permalink
fix: upper case HEAD (refs #127)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Mar 17, 2022
1 parent 69335c4 commit 08ad394
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public final class GitChangelogApiConstants {

public static final String ZERO_COMMIT = "0000000000000000000000000000000000000000";
public static final String REF_MASTER = "master";
public static final String REF_HEAD = "head";
public static final String REF_HEAD = "HEAD";
public static final boolean DEFAULT_REMOVE_ISSUE = false;
public static final String DEFAULT_TIMEZONE = "UTC";
public static final String DEFAULT_DATEFORMAT = "yyyy-MM-dd HH:mm:ss";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,7 @@ private GitCommit toGitCommit(final RevCommit revCommit) {
merge);
}

/**
* @param pathFilter use when filtering commits
*/
/** @param pathFilter use when filtering commits */
public void setTreeFilter(final String pathFilter) {
this.pathFilter = pathFilter == null ? "" : pathFilter;
}
Expand Down

0 comments on commit 08ad394

Please sign in to comment.