Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0dc9353

Browse files
committed
capture init hashes
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentfa619fd commit0dc9353

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎src/utils/commits.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,17 @@ export async function getCommits({
7373
// add to the list
7474
commits[position].push(commit.hash);
7575
}
76+
}else{
77+
constinitMatches=commit.message.match(/^INIT/);
78+
if(initMatches&&initMatches.length){
79+
if(!commits.INIT){
80+
// does not exist, create the list
81+
commits.INIT=[commit.hash];
82+
}else{
83+
// add to the list
84+
commits.INIT.push(commit.hash);
85+
}
86+
}
7687
}
7788
}
7889
}catch(e){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp