mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-08 19:06:38 +03:00
fix creating branch by moving hunks
This commit is contained in:
parent
84ea0e1e17
commit
75bafd01a8
@ -36,7 +36,7 @@
|
||||
|
||||
if (e.type == 'finalize') {
|
||||
const ownership = branchItems[0].files
|
||||
.map((file) => file.id + ':' + file.hunks.map((hunk) => hunk.id.split(':')[1]).join(','))
|
||||
.map((file) => file.id + ':' + file.hunks.map((hunk) => hunk.id).join(','))
|
||||
.join('\n');
|
||||
|
||||
virtualBranches.createBranch(newBranchName(), ownership);
|
||||
|
Loading…
Reference in New Issue
Block a user