1
1
mirror of https://github.com/kahole/edamagit.git synced 2024-09-11 07:15:31 +03:00

adds context id to commit detail change section

To avoid conflict with status view folding states
This commit is contained in:
Kristian Andersen Hole 2023-11-29 12:42:44 +01:00
parent 8cecd1e443
commit d62043a2c3

View File

@ -17,7 +17,7 @@ export class CommitDetailView extends DocumentView {
constructor(uri: Uri, public commit: MagitCommit, header: string, diffChanges: MagitChange[]) {
super(uri);
const commitTextView = new ChangeSectionView(Section.Changes, diffChanges);
const commitTextView = new ChangeSectionView(Section.Changes, diffChanges, `-commitDetail@${commit.hash}`);
const headerView = new TextView(header);
headerView.isHighlightable = false;