Josh Junon
add0a84165
add help menu handler for debug info sharing and remove panic
2024-05-06 12:58:50 +02:00
Josh Junon
cf74b12a3c
Merge pull request #3693 from gitbutlerapp/Help-window-menu
...
"Help" window menu
2024-05-06 12:37:14 +02:00
Pavel Laptev
53d6e58850
match statement update
2024-05-06 12:24:18 +02:00
Pavel Laptev
81ff230fb7
code review fixes
2024-05-06 12:12:39 +02:00
Pavel Laptev
c14fa2f864
version added
2024-05-06 12:05:50 +02:00
Josh Junon
bb9fb079c4
Merge pull request #3699 from gitbutlerapp/sort-alphabetically
...
sort project list alphabetically
2024-05-06 11:57:23 +02:00
Josh Junon
574f0142f9
sort projects list alphabetically by title
2024-05-06 11:32:41 +02:00
Kiril Videlov
7fdd85f522
Merge pull request #3695 from gitbutlerapp/restore-snapshot-and-refresh
...
add some details to the undo interface
2024-05-06 00:20:43 +02:00
Kiril Videlov
08eba701fb
add some details to the undo interface
2024-05-06 00:19:22 +02:00
Kiril Videlov
f2b2434d7c
Merge pull request #3694 from gitbutlerapp/refactor-snapshot-functions-as-trait-methods
...
refactor snapshotting as an Oplog trait
2024-05-05 22:46:08 +02:00
Kiril Videlov
4f1c63ca77
dont error commands on snapshoting erros
...
If the snapshoting returns an error that should not interfere with the command that the user originally intended to run
2024-05-05 22:34:15 +02:00
Kiril Videlov
5f6ff257d1
refactor snapshotting as an Oplog trait
...
Implemented on Project
2024-05-05 22:28:12 +02:00
Pavel Laptev
6d9848e3d7
lint fixes
2024-05-05 22:18:59 +02:00
Pavel Laptev
e38e68477b
lint fixes
2024-05-05 21:57:45 +02:00
Pavel Laptev
043917ad45
Help window menu added
2024-05-05 21:40:06 +02:00
Kiril Videlov
988291886b
Merge pull request #3692 from anaisbetts/ignore-envs
...
Ignore .env.development and friends
2024-05-05 21:33:54 +02:00
Ani Betts
de2bcdb390
Ignore .env.development and friends
2024-05-05 21:18:05 +02:00
Kiril Videlov
bb1d79e87a
Merge pull request #3691 from gitbutlerapp/added-snapshot-creation-based-on-changed-lines
...
fix: auto snapshotting on changed lines of code
2024-05-05 20:29:19 +02:00
Kiril Videlov
c59767651d
fix: auto snapshotting on changed lines of code
...
Compare against the last snapshot
2024-05-05 20:08:34 +02:00
Kiril Videlov
66a21e8ec5
Merge pull request #3690 from gitbutlerapp/fix-snapshot-path-handling
...
fix a snapshot bug on windows
2024-05-05 18:09:14 +02:00
Kiril Videlov
9aa7b11311
fix a snapshot bug on windows
...
paths shouldn't be handcoding the separator
2024-05-05 17:55:10 +02:00
Kiril Videlov
bd33ff1645
Merge pull request #3689 from gitbutlerapp/include-conflict-state-in-snapshots
...
include conflict state in snapshots
2024-05-05 17:52:47 +02:00
Kiril Videlov
a0a834b8bd
create and restore return the shas of the snapshots
2024-05-05 17:39:45 +02:00
Kiril Videlov
bd8b0bf246
improve docs
2024-05-05 17:32:00 +02:00
Kiril Videlov
c24da92b6f
test: snapshotting of conflict state
2024-05-05 17:31:52 +02:00
Kiril Videlov
0771efc52f
include conflict state in snapshots
2024-05-05 17:31:29 +02:00
Kiril Videlov
81bc5b327c
Merge pull request #3687 from gitbutlerapp/snapshot-on-file-changes
...
snapshot on file changes
2024-05-04 19:47:24 +02:00
Kiril Videlov
5e54e0ed01
make SNAPSHOT_LINES_THRESHOLD configurable
2024-05-04 19:34:54 +02:00
Kiril Videlov
ebae6bf8de
create a snapshot every 20 lines changed
2024-05-04 19:20:22 +02:00
Kiril Videlov
25b7acc59c
adds a new snapshot entry type FileChanges
2024-05-04 19:19:52 +02:00
Kiril Videlov
32e5b97495
create a GbRepo trait for building blocks gitbutler uses
...
As well as an implementation for git2::Repository
2024-05-04 19:19:09 +02:00
Kiril Videlov
f5915262e8
Merge pull request #3686 from gitbutlerapp/exclude-large-new-files
...
fix: only skip big files from snapshotting if they are untracked
2024-05-04 16:41:23 +02:00
Kiril Videlov
105a355e5d
fix: only skip big files from snapshotting if they are untracked
2024-05-04 16:28:34 +02:00
Kiril Videlov
027e0bec05
Merge pull request #3685 from gitbutlerapp/add-gitbutler-cli-cargo-toml
...
tiny cli for snapshots
2024-05-04 03:58:35 -07:00
Kiril Videlov
f8e05ec694
skip pager on windows
2024-05-04 12:14:24 +02:00
Kiril Videlov
539ba983b3
add cli crate to ci jobs
2024-05-04 11:31:28 +02:00
Kiril Videlov
9aee55c869
tiny cli for snapshots
...
this is a cli convinience tool for listing and restoring gitbutler snapshots even if the app can't start or if it's hung. of course this can be done with plain git, but this is more convinient
In the future we could add more functionality to it
2024-05-04 11:29:14 +02:00
Kiril Videlov
d2a51e84e9
Merge pull request #3682 from gitbutlerapp/improve-advanced-commit-options
...
Improve advanced commit options
2024-05-04 01:47:21 -07:00
Kiril Videlov
3bfc081b94
Merge pull request #3683 from gitbutlerapp/Update-branch-normalize-function
...
Update the normalizeBranchName function to match rust
2024-05-03 14:23:18 -07:00
Caleb Owens
32a8992af6
Add some basic test cases for normalizeBranchName
2024-05-03 20:16:02 +01:00
Caleb Owens
63ee99b647
Update the normalizeBranchName function to match rust
...
Before, uppercase letters and hashes were missing from the regex. I've now coppied the regex from the rust code so they are now identical
2024-05-03 20:09:22 +01:00
Caleb Owens
fe30db9760
Change metric for "undoable"
...
We have two types of commits "RemoteCommit" and "Commit". "RemoteCommit" are what we see in the "Upstream" section, and in branches. These commits can't be undone.
Commits of type "Commit" appear in the "Local" and "Remote" sections and are undoable
2024-05-03 19:49:40 +01:00
Caleb Owens
601d6ba809
Grey out commit buttons when title isnt present
2024-05-03 19:41:45 +01:00
Caleb Owens
c4108dc22c
Only show edit title option when commit is undoable
2024-05-03 19:32:30 +01:00
Caleb Owens
6982909689
Use stop propagation to prevent card closing
2024-05-03 19:14:24 +01:00
Caleb Owens
f8109368f3
Improve UI of advanced commit options
2024-05-03 19:10:28 +01:00
Kiril Videlov
8db8ec5641
Merge pull request #3676 from gitbutlerapp/update-virtual-branches-toml-on-restore
...
snapshots: use subtrees for virtual_branches.toml
2024-05-03 02:50:03 -07:00
Kiril Videlov
8ef46ce42c
snapshots: use subtrees for virtual_branches.toml
...
Instead of copying the file to the working directory, simply create a top level tree with a subtree for the workdir and a blob for the toml file
2024-05-03 11:13:55 +02:00
Mattias Granlund
5bb8c25aca
Fix bug in updating base branch
...
- drop "double lock across branches" test because it can't happen
- save correct tree when updating branch states
- use correct integration commit when updating base branch
2024-05-02 17:39:52 +02:00
Kiril Videlov
2e5684a965
Merge pull request #3671 from gitbutlerapp/advanced-commit-operations
...
puts advanced commit ops behind a feature flag
2024-05-02 05:59:03 -07:00