diff --git a/media/commit-fill.svg b/media/commit-fill.svg new file mode 100644 index 0000000..9501536 --- /dev/null +++ b/media/commit-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/media/commit.png b/media/commit.png new file mode 100644 index 0000000..0bbdee6 Binary files /dev/null and b/media/commit.png differ diff --git a/package.json b/package.json index 10b17cb..30bc38f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "ui", "workspace" ], - "publisher": "elf.cheng", + "icon": "media/commit.png", + "publisher": "elfcheng", "extensionDependencies": [ "vscode.git" ], @@ -25,7 +26,7 @@ { "id": "gitCommitFilterView", "title": "Git Commits", - "icon": "media/icon.svg" + "icon": "media/commit-fill.svg" } ] }, diff --git a/src/GitService.ts b/src/GitService.ts index 4dc12b0..45298ef 100644 --- a/src/GitService.ts +++ b/src/GitService.ts @@ -109,6 +109,7 @@ export class GitService { if(commit){ commits.push(commit); } + lines = []; } else if (nline.trim() !== "") { lines.push(nline); }