File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
but-workspace/tests/workspace/commit_engine Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,6 @@ fn new_commits_to_tip_from_unborn_head() -> anyhow::Result<()> {
258
258
/// https://github.com/gitbutlerapp/gitbutler/pull/7596 may affect the solution here, but
259
259
/// it's not yet ready.
260
260
#[ test]
261
- #[ ignore = "needs fixes" ]
262
261
fn new_stack_receives_commit_and_adds_it_to_workspace_commit ( ) -> anyhow:: Result < ( ) > {
263
262
assure_stable_env ( ) ;
264
263
@@ -311,10 +310,10 @@ fn new_stack_receives_commit_and_adds_it_to_workspace_commit() -> anyhow::Result
311
310
// head was updated to point to the new workspace commit.
312
311
insta:: assert_snapshot!( visualize_commit_graph( & repo, repo. head_id( ) ?) ?, @r"
313
312
* 7051951 (HEAD -> main) GitButler Workspace Commit
314
- |\
313
+ |\
315
314
| * 00fbfba (s2/top) new file with 15 lines
316
315
* | b451685 (s1/top) insert 5 lines to the top
317
- |/
316
+ |/
318
317
* d15b5ae (tag: first-commit) init
319
318
" ) ;
320
319
Original file line number Diff line number Diff line change @@ -138,10 +138,6 @@ pub fn create_commit_from_worktree_changes(
138
138
guard. write_permission ( ) ,
139
139
) ;
140
140
141
- // let vb_state = VirtualBranchesHandle::new(project.gb_dir());
142
- // gitbutler_branch_actions::update_workspace_commit(&vb_state, &ctx)
143
- // .context("failed to update gitbutler workspace")?;
144
-
145
141
let _ = snapshot_tree. and_then ( |snapshot_tree| {
146
142
ctx. snapshot_commit_creation (
147
143
snapshot_tree,
You can’t perform that action at this time.
0 commit comments