Skip to content

Commit e86624d

Browse files
committed
Prepares space for future AI-powered recompose actions for a branch
Adds more item context for new AI-assisted commands to explain unpushed changes. (#4443, #4522)
1 parent f6f0762 commit e86624d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/env/node/git/sub-providers/graph.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ export class GraphGitSubProvider implements GitGraphSubProvider {
356356
: branchIdOfMainWorktree === branchId
357357
? '+checkedout'
358358
: ''
359-
}${branch?.starred ? '+starred' : ''}`,
359+
}${branch?.starred ? '+starred' : ''}${branch?.upstream?.state.ahead ? '+ahead' : ''}${
360+
branch?.upstream?.state.behind ? '+behind' : ''
361+
}`,
360362
webviewItemValue: {
361363
type: 'branch',
362364
ref: createReference(tip, repoPath, {

0 commit comments

Comments
 (0)