52a2e4c1dc
fix: fix ambiguous branch name
...
test: add an integration test for checkout branch by name
fix: fix full ref name of detached head
refactor: refactor current branch loader
chore: use field name explicitly
2022-11-14 19:05:07 +11:00
b33ec5a050
Merge pull request #1980 from ajhynes7/stash-untracked-changes
2022-11-14 18:46:53 +11:00
3e73dacce3
Merge loaders package into git_commands package
2022-11-14 18:11:45 +11:00
df3cd941d7
use tempdir in tests to prevent polluting worktree
2022-11-13 14:10:21 +11:00
97ced9e14f
fix could-not-access error
2022-11-12 18:09:15 -03:30
e8b97c9fe2
fix could-not-access error
2022-11-11 12:30:14 +11:00
a47e72892a
Merge branch 'master' into stash-untracked-changes
2022-11-01 16:08:34 -02:30
3103398e31
chore: refactor rename stash
2022-10-16 09:30:04 +09:00
eceb3a5aa6
chore: refactor rename stash
2022-10-16 09:12:43 +09:00
8a9eefa4d2
chore: remove unnecessary space
...
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com >
2022-10-16 09:12:43 +09:00
11316b7a48
feat: add rename stash
2022-10-16 09:12:42 +09:00
8c46a0110d
Merge branch 'master' into stash-untracked-changes
2022-10-06 22:59:06 -02:30
41f86f6535
Rebase merges by default
2022-09-24 23:37:17 +02:00
b8900baf1a
remove deprecated calls
2022-09-17 15:10:41 -07:00
c7733aa5e5
refactor: rename method to StashIncludeUntrackedChanges
2022-09-15 21:48:49 -02:30
6feb301c2a
fix: use message in git stash command
2022-09-15 21:48:49 -02:30
e66b162726
refactor: remove redundant if statement
2022-09-15 21:48:49 -02:30
4f8816ebf2
refactor: use extended flag name
2022-09-15 21:48:49 -02:30
7ddb80a13e
feat: add stash option to include untracked changes
2022-09-15 21:48:48 -02:30
154bd975a6
Apply refactoring suggestions
2022-08-15 13:59:34 +01:00
755ae0ef84
add deadlock mutex package
...
write to deadlock stderr after closing gocui
more deadlock checking
2022-08-07 11:16:14 +10:00
524bf83a4a
refactor to only have one context per view
2022-08-06 13:49:11 +10:00
86ac309e08
add build info when building from source
2022-08-01 20:16:50 +10:00
11d766053e
Allow adding a file to the .git/info/exclude file
2022-07-05 19:33:44 +10:00
9591cc381a
support setting the author of a commit
...
update copy
2022-06-09 19:12:20 +10:00
ca191159f5
Discard staged changes only
2022-05-08 14:24:28 +02:00
fbe23b3754
fixup! Add command to reset the commit author from the commits panel.
2022-05-08 13:29:57 +10:00
7ac487545c
fixup! Add command to reset the commit author from the commits panel.
2022-05-08 13:29:56 +10:00
7c573a5bea
Add command to reset the commit author from the commits panel.
2022-05-08 13:29:56 +10:00
5717e72366
fix: fix copying author name to clipboard
2022-05-07 18:08:05 +09:00
cd5b041b0f
clearer separation of concerns when bootstrapping application
2022-05-07 16:02:04 +10:00
d458e78d95
feat: add ability to edit hunk
2022-05-06 21:53:00 +09:00
0940e0182b
Merge pull request #1870 from mark2185/feature/stash-unstaged
2022-05-06 20:17:33 +10:00
f7fae0b82e
Merge pull request #1869 from mark2185/feature/unset-upstream
2022-05-06 20:14:13 +10:00
4dd09ee0d5
allow copying commit author to clipboard
2022-05-01 14:14:29 +10:00
e5730cb80b
fix: improve default editCommandTemplate
2022-04-23 17:39:12 +09:00
bd9daf80b7
Add integration tests
2022-04-17 11:08:36 +02:00
1ae2dc9941
The four horsemen of stashing
2022-04-14 21:45:55 +02:00
f83308c8df
Add option to (un)set upstream for a local branch
2022-04-11 14:04:06 +02:00
6f7038c827
Add option to stash only unstaged files
2022-04-10 09:35:59 +02:00
53257db99d
fix: fix diff of renamed files
2022-04-06 08:26:13 +10:00
99ecc1cfdf
fix loaders
2022-04-02 17:04:42 +11:00
86c259623c
feat: fix permission problem of temp dirs
2022-04-02 08:48:38 +11:00
540edb0bf4
Add copy commit attributes option
2022-03-26 17:22:42 +11:00
43d3f2bcb6
refactor todo file generation
2022-03-24 20:14:41 +11:00
99e55725fb
simplify
2022-03-24 20:14:41 +11:00
bf4f06ab4e
more generics
2022-03-24 20:14:41 +11:00
c7a629c440
make more use of generics
2022-03-24 20:14:41 +11:00
8fb47fb7d6
pkg/commands: Don't duplicate line breaks when retrieving commit message
...
When using the "copy commit message to clipboard" action, the message will end
up in the clipboard with duplicate line breaks. The same issue also affects the
"Reword Commit" command. GetCommitMessage(), the function used to retrieve the
commit message first splits the output returned by git into separate lines -
without removing the line breaks. After removing the first line (which contains
the commit SHA), it joins the lines of the message itself back together - adding
a second set of line breaks along the way. Stop this from happening.
Fixes #1808 .
2022-03-23 08:19:17 +11:00
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00