Skip to content

Commit c9be5eb

Browse files
committed
:wq
Merge branch 'upstream/pr-601-Chrismettal' into develop
2 parents 1b41f48 + fc0bc05 commit c9be5eb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ export function doesFileExist(path: string) {
121121
/* General Methods */
122122

123123
/**
124-
* Abbreviate a commit hash to the first eight characters.
124+
* Abbreviate a commit hash to the first seven characters.
125125
* @param commitHash The full commit hash.
126126
* @returns The abbreviated commit hash.
127127
*/
128128
export function abbrevCommit(commitHash: string) {
129-
return commitHash.substring(0, 8);
129+
return commitHash.substring(0, 7);
130130
}
131131

132132
/**

web/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4070,7 +4070,7 @@ function haveFilesChanged(oldFiles: ReadonlyArray<GG.GitFileChange> | null, newF
40704070
}
40714071

40724072
function abbrevCommit(commitHash: string) {
4073-
return commitHash.substring(0, 8);
4073+
return commitHash.substring(0, 7);
40744074
}
40754075

40764076
function getRepoDropdownOptions(repos: Readonly<GG.GitRepoSet>) {

0 commit comments

Comments
 (0)