Commit Graph

129 Commits

Author SHA1 Message Date
Kiril Videlov
c83e39ec5c update tests to reflect using the hunk context 2024-02-25 23:24:58 +01:00
Kiril Videlov
000ddeff91 chore: remove user-facing config for using diff contexts infavor of automatic migration 2024-02-25 23:24:58 +01:00
Kiril Videlov
08d22de40e if a project has not virtual branches migrate it to using diffs with context 2024-02-25 23:24:58 +01:00
Kiril Videlov
9d53268a5d use diff context lines internally if configured 2024-02-25 23:24:58 +01:00
Kiril Videlov
91885eac6b adds a config for using diffs with context lines internallyl 2024-02-25 23:24:58 +01:00
Kiril Videlov
a2e945d0b9 perf: optimize patch application for virtual branches 2024-02-25 15:54:08 +01:00
Kiril Videlov
e5bbf9298a perf: apply string patches instead of binary 2024-02-24 17:30:51 +01:00
Kiril Videlov
392cff5a42 feat: verify push results
adds a callback checking the push result status from the remote
2024-02-23 15:12:55 +01:00
Naman Garg
b305cdb86e Close App on Linux 2024-02-21 23:50:50 +01:00
Pranav2612000
0084b1b0ec fix: show better error message when loading a repository without commits 2024-02-21 22:22:41 +01:00
Kiril Videlov
30a72cd2f7 fix: closing the window should terminate the process for non-mac installations 2024-02-21 11:27:06 +01:00
Kiril Videlov
03b85e63c2 fix: lower the filesystem filter handling threshold
There could be an application (e.g an IDE) which is constantly writing, so the threshold cant be too high
2024-02-20 16:00:49 +01:00
Kiril Videlov
fb56cad857
Merge pull request #2750 from gitbutlerapp/Move-commit-to-vbranch-tests
move commit functionality
2024-02-20 14:55:40 +01:00
Kiril Videlov
3bc56d6c1f
chore: replace app internal scheduled fetching with UI triggered fetching on per-project basis 2024-02-20 00:52:30 +01:00
Kiril Videlov
fdac245acd chore: remove tray menu 2024-02-19 21:59:06 +01:00
Naman Garg
aa27f8d3a8
Fix the Linux window show issue 2024-02-19 14:47:29 +05:30
Nikita Galaiko
2a07acf46e implement move_commit api 2024-02-19 09:21:12 +01:00
Federico Giovagnoli
10ae89202d
Merge branch 'master' into discard-entire-file-via-contextmenu 2024-02-18 14:18:26 +01:00
Caleb Owens
77ddeb79ec Move comments to a rust FMT approved location 2024-02-18 13:44:30 +01:00
Caleb Owens
fa5d938590 Updated comments in context.rs 2024-02-18 13:44:30 +01:00
Caleb Owens
f790ca1b3d Add tests to verify changes 2024-02-18 13:44:30 +01:00
Caleb Owens
1378a8a8ca Change weird_testcase to not panic when it fails 2024-02-18 13:44:30 +01:00
Caleb Owens
df2e1e22c9 Fix "weird_testcase" whitespace 2024-02-18 13:44:30 +01:00
Caleb Owens
f90463c26f Fix most of the tests 2024-02-18 13:44:30 +01:00
Caleb Owens
ada7bee5d0 Fix clippy issues 2024-02-18 13:44:30 +01:00
Caleb Owens
894f9adb3b Remove whitespace
Run rust FMT
2024-02-18 13:44:30 +01:00
Caleb Owens
be051d7840 Fix line number calculations 2024-02-18 13:44:30 +01:00
Caleb Owens
2749ea1ccb Remove extra logic
(the start_line_XXX_no_ctx) are the same as the hunk_XXX_start_line values
2024-02-18 13:44:30 +01:00
Caleb Owens
29886f3290 Don't reverse before context 2024-02-18 13:44:30 +01:00
Caleb Owens
cf55bff6bf Clean up increment then decrement into one if expression 2024-02-18 13:44:30 +01:00
Caleb Owens
cf4c5609ba Fix surrounding logic 2024-02-18 13:44:30 +01:00
Caleb Owens
d9b6636462 Fix whitespace that vim removes 2024-02-18 13:44:30 +01:00
Kiril Videlov
709a8f4b2f add rate limiting for file filtering gitignored files 2024-02-18 12:36:34 +01:00
Kiril Videlov
ea927c2b21 perf: filter ignored changes for virtual branch calc 2024-02-18 12:36:34 +01:00
Kiril Videlov
dd5049244b chore: increase debounce timeout for file change events to prevent multiple events from being sent for a single file change 2024-02-17 18:28:37 +01:00
Meesayen
bd7bf3b8a9 chore: DRYer approach 2024-02-17 12:16:11 +01:00
Meesayen
fd7c18d121 feat: ability to discard changes to an entire file 2024-02-17 12:16:11 +01:00
Kiril Videlov
42302763d6 fix: update regex pattern to allow periods in branch names 2024-02-16 23:42:25 +01:00
Kiril Videlov
173886f947 fix: dont send the content of large text files to the UI as it cant handle it 2024-02-16 18:20:46 +01:00
Meesayen
7ebcd41fec fix: discard diff hunk incorrectly replaces all "-" with "+" 2024-02-15 16:56:20 +01:00
Kiril Videlov
28d5aca9c2 dont add gitbutler as committer by default 2024-02-14 22:40:44 +01:00
Nikita Galaiko
eb193a32fe add TryFrom<&PathBuf> for tests 2024-02-14 17:25:39 +01:00
Nikita Galaiko
ddbeca298c unify TryFrom<&AppHandler> implementations 2024-02-14 17:25:39 +01:00
Kiril Videlov
90c8884bbf chore: remove inappropriate to_lowercase() of branch names 2024-02-14 15:48:39 +01:00
Kiril Videlov
920d0e96a8 fix: listing of remote branches no longer fetches commits and metadata 2024-02-11 22:52:52 +01:00
Kiril Videlov
d234649e47 feat: add support for fetching remote branch data and displaying commits in the branch view 2024-02-11 21:54:39 +01:00
Kiril Videlov
a42bbd7ffd feat: adds support for omitting host certificate checks when authenticating with ssh 2024-02-09 17:51:58 +01:00
Kiril Videlov
3251e15d40 feat: add gitbutler-git as a dependency and update git_head function to use gitbutler-git library for retrieving the symbolic head of a repository 2024-02-08 19:09:57 +01:00
Nikita Galaiko
16f53de3d7
Merge pull request #2552 from gitbutlerapp/gb-818-add-test-for-unapplying-ownership
GB-818 Add test for unapplying ownership
2024-02-07 08:10:26 +01:00
Kiril Videlov
1501699689 Revert "update rate limiting for Sentry events to allow for burst"
This reverts commit 64962078d2.
2024-02-06 21:01:46 +01:00