Skip to content

Commit deb240b

Browse files
committed
add git command
1 parent 617d829 commit deb240b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/graph-webview/harness/mock-data.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// a merge, a tag, and local + remote refs, to exercise the layout & colors.
33
window.__MOCK_GRAPH__ = {
44
repoName: "demo-repo",
5+
gitCommand: "git log --exclude=refs/stash --all --topo-order --max-count=500",
56
head: "h7777777",
67
commits: [
78
{ sha: "h7777777", parents: ["h6666666", "f2222222"], summary: "Merge feature/login", author: "Ben", authorEmail: "ben@example.com", date: "2026-06-25T10:00:00Z" },

‎vs/Model/Dtos.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public sealed class GraphData
1515
public string RepoName { get; set; }
1616
/// <summary>Stash entries, drawn in their own column linked to their base commit.</summary>
1717
public List<StashEntry> Stashes { get; set; } = new List<StashEntry>();
18+
/// <summary>The git log command that produced this data, shown in the status bar.</summary>
19+
public string GitCommand { get; set; }
1820
}
1921

2022
/// <summary>A single git stash entry (<c>stash@{N}</c>).</summary>

0 commit comments

Comments
 (0)