Skip to content

Commit bfcd3eb

Browse files
committed
Move branch: Snapshot entry
1 parent 04b920c commit bfcd3eb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

apps/desktop/src/components/SnapshotCard.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@
125125
return { text: 'Update commit message', icon: 'edit' };
126126
case 'MoveCommit':
127127
return { text: 'Move commit', icon: 'move-commit' };
128+
case 'MoveBranch':
129+
return { text: 'Move branch', icon: 'move-commit' };
128130
case 'ReorderCommit':
129131
return { text: 'Reorder commit', icon: 'move-commit' };
130132
case 'InsertBlankCommit':

apps/desktop/src/lib/history/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export type Operation =
2525
| 'SquashCommit'
2626
| 'UpdateCommitMessage'
2727
| 'MoveCommit'
28+
| 'MoveBranch'
2829
| 'RestoreFromSnapshot'
2930
| 'ReorderCommit'
3031
| 'InsertBlankCommit'

0 commit comments

Comments
 (0)