File changes cannot be moved because part of this file was already committed, Virtual Branch Created from Initial Repo Commit. App Experiences serious Lags
Unexpectedly, a virtual branch is created with the same name as the initial commit. All files are automatically moved to this new virtual branch and become locked, preventing further movement.
Locked Message :
File changes cannot be moved because part of this file was already committed into this branch
Note : “The initial commit occurred two years ago, and the codebase is considerably large.”
OS : Windows Build : Nightly [email protected]
Thanks for reporting. On Windows, the experience is particularly rough, still, and large repositories are an area to be improved as well.
Could you help me reproduce the issue? How did it happen that a virtual branch was created with the same name as the initial commit, if you can recall some details? Thanks for your help.
I’d be happy to assist!
I’ve encountered this issue twice in a row on the same project. The first time, I was baffled. All app features became unbearably slow—setting the default branch, creating virtual branches, moving files, and even simple drag-and-drop actions took 1-2 minutes to reflect.
The virtual branch that appeared had an older commit message and displayed all commits under ‘Local,’ even though those commits were originally from the origin remote.
To troubleshoot, I created a new project, and there were no performance issues whatsoever. But suddenly, the same issue resurfaced, impacting performance.
For anyone facing a similar problem:
- Commit necessary files to the same virtual branch where the file is locked.
- Create a new virtual branch.
- Move your commits to the new virtual branch.
- Delete the problematic virtual branch.
Following these steps resolved the issue for me. Deleting the branch seems to fix the performance problem.
I’ve delved into the logs and found some related log entries
2024-04-22T06:11:19.909062Z INFO update_virtual_branch: crates\gitbutler-tauri\src\virtual_branches.rs:156: new [3mproject_id[0m[2m=[0m2477a465-ffc1-4562-914c-bba7dd3698f2 [3mbranch[0m[2m=[0mBranchUpdateRequest { id: 8ee2e5d0-b442-4199-98dd-3d8c17a50d1e, name: None, notes: None, ownership: None, order: None, upstream: Some("<COMMIT_NAME>"), selected_for_changes: None }
2024-04-22T06:11:54.675331Z INFO update_virtual_branch: crates\gitbutler-tauri\src\virtual_branches.rs:156: close time.busy=11.8ms time.idle=34.8s [3mproject_id[0m[2m=[0m2477a465-ffc1-4562-914c-bba7dd3698f2 [3mbranch[0m[2m=[0mBranchUpdateRequest { id: 8ee2e5d0-b442-4199-98dd-3d8c17a50d1e, name: None, notes: None, ownership: None, order: None, upstream: Some("<COMMIT_NAME>"), selected_for_changes: None }
Thanks so much for sharing!
2 minutes for a virtual branch update! Is the repository particularly large, or are there continuous changes to the worktree? Thus far I tried to operate on the Linux kernel repository which often is prohibitive/unusable, so it would be great if I could find an intermediate repository to try things out on.
I don’t believe the repository is any larger than the GitButler repo itself. I apologize for not being able to share the repo details since it’s a closed-source product. However, I’m happy to provide more information and assist in reproducing the issue in any way possible.
Here is the log session when the issue branch was created :
Caused by:
Access is denied. (os error 5)) id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.328095Z INFO set_project_active: crates\gitbutler-tauri\src\projects.rs:60: close time.busy=3.69ms time.idle=37.8µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.330125Z INFO fetch_from_target: crates\gitbutler-tauri\src\virtual_branches.rs:411: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb action=Some("auto")
2024-04-26T14:46:00.330548Z INFO menu_item_set_enabled: crates\gitbutler-tauri\src\menu.rs:16: new menu_item_id="project/settings" enabled=true
2024-04-26T14:46:00.330601Z INFO menu_item_set_enabled: crates\gitbutler-tauri\src\menu.rs:16: close time.busy=17.4µs time.idle=47.0µs menu_item_id="project/settings" enabled=true
2024-04-26T14:46:00.335485Z INFO git_head: crates\gitbutler-tauri\src\commands.rs:97: close time.busy=11.0ms time.idle=41.6µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.457033Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.466759Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: close time.busy=9.68ms time.idle=59.8µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.534774Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: new
2024-04-26T14:46:00.535083Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: close time.busy=268µs time.idle=50.4µs
2024-04-26T14:46:00.540884Z INFO list_virtual_branches: crates\gitbutler-tauri\src\virtual_branches.rs:40: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.541403Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.561888Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=20.4ms time.idle=88.1µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:46:00.657778Z INFO list_virtual_branches:workdir: crates\gitbutler-core\src\git\diff.rs:129: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb commit_oid=Oid { oid: ad11f7073568b5c6de6feb777e0cbf57c422e2cd }
2024-04-26T14:46:01.287631Z INFO list_virtual_branches:workdir: crates\gitbutler-core\src\git\diff.rs:129: close time.busy=630ms time.idle=63.4µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb commit_oid=Oid { oid: ad11f7073568b5c6de6feb777e0cbf57c422e2cd }
2024-04-26T14:46:05.478348Z ERROR fetch_from_target: crates\gitbutler-tauri\src\virtual_branches.rs:471: error=watcher not found project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb action=Some("auto")
2024-04-26T14:46:05.478391Z INFO fetch_from_target: crates\gitbutler-tauri\src\virtual_branches.rs:411: close time.busy=5.15s time.idle=39.5µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb action=Some("auto")
2024-04-26T14:48:38.073869Z INFO crates\gitbutler-tauri\src/main.rs:82: starting app version=0.5.433 name=GitButler Nightly
2024-04-26T14:48:38.662394Z INFO get_user: crates\gitbutler-tauri\src\users.rs:13: new
2024-04-26T14:48:38.662786Z INFO get_user: crates\gitbutler-tauri\src\users.rs:13: close time.busy=316µs time.idle=111µs
2024-04-26T14:48:38.668590Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: new
2024-04-26T14:48:38.668899Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: close time.busy=259µs time.idle=59.9µs
2024-04-26T14:48:38.862814Z INFO get_project: crates\gitbutler-tauri\src\projects.rs:39: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.864758Z INFO get_project: crates\gitbutler-tauri\src\projects.rs:39: close time.busy=1.90ms time.idle=62.1µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.866689Z INFO set_project_active: crates\gitbutler-tauri\src\projects.rs:60: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.867085Z INFO git_head: crates\gitbutler-tauri\src\commands.rs:97: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.869368Z INFO set_project_active:watch: crates\gitbutler-tauri\src\watcher.rs:156: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.870348Z INFO set_project_active:watch:file monitor: crates\gitbutler-watcher\src\file_monitor.rs:75: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.874507Z INFO fetch_from_target: crates\gitbutler-tauri\src\virtual_branches.rs:411: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb action=Some("auto")
2024-04-26T14:48:38.874744Z INFO menu_item_set_enabled: crates\gitbutler-tauri\src\menu.rs:16: new menu_item_id="project/settings" enabled=true
2024-04-26T14:48:38.875171Z INFO menu_item_set_enabled: crates\gitbutler-tauri\src\menu.rs:16: close time.busy=368µs time.idle=79.4µs menu_item_id="project/settings" enabled=true
2024-04-26T14:48:38.881222Z INFO git_head: crates\gitbutler-tauri\src\commands.rs:97: close time.busy=14.1ms time.idle=43.2µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:38.994551Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.000976Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: close time.busy=6.39ms time.idle=49.0µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.048300Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: new
2024-04-26T14:48:39.048479Z INFO list_projects: crates\gitbutler-tauri\src\projects.rs:51: close time.busy=151µs time.idle=36.8µs
2024-04-26T14:48:39.051961Z INFO list_virtual_branches: crates\gitbutler-tauri\src\virtual_branches.rs:40: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.052037Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.062748Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=10.7ms time.idle=46.5µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.123433Z INFO list_virtual_branches:workdir: crates\gitbutler-core\src\git\diff.rs:129: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb commit_oid=Oid { oid: f974e29efe20c025b9db72e68e9d4cd4137fbd7a }
2024-04-26T14:48:39.124114Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.126878Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.72ms time.idle=52.3µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=0 git_noop=0 git=1 git=1 project=0 project=0 git_dedup=1 git_dedup=1
2024-04-26T14:48:39.127037Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, FETCH_HEAD)
2024-04-26T14:48:39.129794Z INFO handle:calculate_virtual_branches: crates\gitbutler-watcher\src\handler\mod.rs:172: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, FETCH_HEAD)
2024-04-26T14:48:39.185272Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.194095Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=8.77ms time.idle=108µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.200596Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.202622Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.98ms time.idle=62.2µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=1 git_noop=1 git=0 git=0 project=0 project=0
2024-04-26T14:48:39.226282Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.229008Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.66ms time.idle=76.7µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=17 fs_events=17 ignored=0 ignored=0 git_noop=15 git_noop=15 git=2 git=2 project=0 project=0 git_dedup=2 git_dedup=2
2024-04-26T14:48:39.229200Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, logs\HEAD, index)
2024-04-26T14:48:39.232291Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: close time.busy=3.03ms time.idle=95.9µs event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, logs\HEAD, index)
2024-04-26T14:48:39.302594Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.304200Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.57ms time.idle=47.9µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=1 git_noop=1 git=0 git=0 project=0 project=0
2024-04-26T14:48:39.331225Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.339976Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: close time.busy=8.69ms time.idle=76.7µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.344942Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.353041Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=8.05ms time.idle=63.3µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:39.648676Z INFO list_virtual_branches:workdir: crates\gitbutler-core\src\git\diff.rs:129: close time.busy=525ms time.idle=56.9µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb commit_oid=Oid { oid: f974e29efe20c025b9db72e68e9d4cd4137fbd7a }
2024-04-26T14:48:41.819434Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.821763Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.29ms time.idle=45.2µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=0 git_noop=0 git=1 git=1 project=0 project=0 git_dedup=1 git_dedup=1
2024-04-26T14:48:41.821849Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, FETCH_HEAD)
2024-04-26T14:48:41.822916Z INFO handle:calculate_virtual_branches: crates\gitbutler-watcher\src\handler\mod.rs:172: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, FETCH_HEAD)
2024-04-26T14:48:41.824429Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.828232Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=3.78ms time.idle=30.3µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.844976Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.846298Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.29ms time.idle=41.5µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=3 fs_events=3 ignored=0 ignored=0 git_noop=3 git_noop=3 git=0 git=0 project=0 project=0
2024-04-26T14:48:41.870073Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.872092Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.98ms time.idle=55.9µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=3 fs_events=3 ignored=0 ignored=0 git_noop=3 git_noop=3 git=0 git=0 project=0 project=0
2024-04-26T14:48:41.895882Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.897702Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.77ms time.idle=66.4µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=1 git_noop=1 git=0 git=0 project=0 project=0
2024-04-26T14:48:41.929196Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.933678Z INFO get_base_branch_data: crates\gitbutler-tauri\src\virtual_branches.rs:104: close time.busy=4.45ms time.idle=43.5µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.937489Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: new project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.941709Z INFO list_remote_branches: crates\gitbutler-tauri\src\virtual_branches.rs:364: close time.busy=4.19ms time.idle=42.2µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.946828Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.948295Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.43ms time.idle=43.8µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=1 git_noop=1 git=0 git=0 project=0 project=0
2024-04-26T14:48:41.972403Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.973684Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.25ms time.idle=34.6µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=7 fs_events=7 ignored=0 ignored=0 git_noop=6 git_noop=6 git=1 git=1 project=0 project=0 git_dedup=1 git_dedup=1
2024-04-26T14:48:41.973950Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: new event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, logs\HEAD)
2024-04-26T14:48:41.975046Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: close time.busy=1.08ms time.idle=31.1µs event=GitFileChange(422e1ee0-da5f-4717-bdcd-00738ea47adb, logs\HEAD)
2024-04-26T14:48:41.997993Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:41.999357Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.32ms time.idle=51.3µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=22 fs_events=22 ignored=0 ignored=0 git_noop=22 git_noop=22 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.048620Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.051171Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.50ms time.idle=65.3µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=7 fs_events=7 ignored=0 ignored=0 git_noop=7 git_noop=7 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.149934Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.152452Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.47ms time.idle=63.7µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=5 fs_events=5 ignored=0 ignored=0 git_noop=5 git_noop=5 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.175348Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.177872Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=2.47ms time.idle=65.5µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=4 fs_events=4 ignored=0 ignored=0 git_noop=4 git_noop=4 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.226269Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.227943Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.64ms time.idle=47.4µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=4 fs_events=4 ignored=0 ignored=0 git_noop=4 git_noop=4 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.725746Z INFO fetch_from_target: crates\gitbutler-tauri\src\virtual_branches.rs:411: close time.busy=3.85s time.idle=71.5µs project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb action=Some("auto")
2024-04-26T14:48:42.726213Z INFO handle: crates\gitbutler-watcher\src\handler\mod.rs:73: new event=VirtualBranch(422e1ee0-da5f-4717-bdcd-00738ea47adb)
2024-04-26T14:48:42.726253Z INFO handle:calculate_virtual_branches: crates\gitbutler-watcher\src\handler\mod.rs:172: new event=VirtualBranch(422e1ee0-da5f-4717-bdcd-00738ea47adb)
2024-04-26T14:48:42.808954Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.810338Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.35ms time.idle=42.5µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=2 fs_events=2 ignored=0 ignored=0 git_noop=2 git_noop=2 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.834229Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.836180Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.91ms time.idle=55.4µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=3 fs_events=3 ignored=0 ignored=0 git_noop=3 git_noop=3 git=0 git=0 project=0 project=0
2024-04-26T14:48:42.935862Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: new id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb
2024-04-26T14:48:42.937667Z INFO set_project_active:watch:file monitor:handle debounced events: crates\gitbutler-watcher\src\file_monitor.rs:77: close time.busy=1.77ms time.idle=42.2µs id=422e1ee0-da5f-4717-bdcd-00738ea47adb project_id=422e1ee0-da5f-4717-bdcd-00738ea47adb fs_events=1 fs_events=1 ignored=0 ignored=0 git_noop=1 git_noop=1 git=0 git=0 project=0 project=0
Hi @krlvi,
I wanted to let you know that it looks like this problem has been fixed in version 0.12.0+ on windows. I tested it for three days on a repository where this issue used to occur within a couple of hours in the previous versions, and I haven't encountered the problem since updating.
Thank you for your work on this!