1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/commands/git_commands
Stefan Haller 67b8ef449c Edit by breaking after current commit
Instead of rebasing from the commit below the current one and then setting the
current one to "edit", we rebase from the current one and insert a "break" after
it. In most cases the behavior is exactly the same as before, except that the
new method also works if the current commit is a merge commit. This is useful if
you want to create a new commit at the very beginning of your branch (by editing
the last commit before your branch).
2023-02-19 10:21:01 +01:00
..
bisect_info.go simplify 2022-03-24 20:14:41 +11:00
bisect.go select current bisect commit even if bisect was started on another branch 2022-01-26 19:29:17 +11:00
branch_loader_test.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
branch_loader.go fix: fix ambiguous branch name 2022-11-14 19:05:07 +11:00
branch_test.go fix: fix RefName of detached HEAD to works in Chinese 2023-01-27 20:45:18 +09:00
branch.go fix: fix RefName of detached HEAD to works in Chinese 2023-01-27 20:45:18 +09:00
commit_file_loader_test.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
commit_file_loader.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
commit_loader_test.go Fix yellow/red coloring of pushed/unpushed commits in branch commits panel (#2448) 2023-02-19 10:13:46 +11:00
commit_loader.go Fix yellow/red coloring of pushed/unpushed commits in branch commits panel (#2448) 2023-02-19 10:13:46 +11:00
commit_test.go Allow ignoring whitespace in diff in commits panel 2023-02-07 12:14:29 +01:00
commit.go Allow ignoring whitespace in diff in commits panel 2023-02-07 12:14:29 +01:00
common.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
config.go restore field 2022-01-09 14:09:53 +11:00
custom.go refactor to group up more commonly used git command stuff 2022-01-18 22:01:09 +11:00
deps_test.go feat: support for push --force-if-includes 2022-12-30 20:01:15 +09:00
file_loader_test.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
file_loader.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
file_test.go fix: improve default editCommandTemplate 2022-04-23 17:39:12 +09:00
file.go remove deprecated calls 2022-09-17 15:10:41 -07:00
flow.go refactor to group up more commonly used git command stuff 2022-01-18 22:01:09 +11:00
patch.go refactor todo file generation 2022-03-24 20:14:41 +11:00
rebase_test.go Explicitly pass --no-autosquash when rebasing 2023-02-09 18:21:11 +01:00
rebase.go Edit by breaking after current commit 2023-02-19 10:21:01 +01:00
reflog_commit_loader_test.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
reflog_commit_loader.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
remote_loader.go (#2288) quote remoteName before compiling regex 2022-11-24 12:56:28 +00:00
remote.go start moving commit panel handlers into controller 2022-03-17 19:13:40 +11:00
stash_loader_test.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
stash_loader.go Merge loaders package into git_commands package 2022-11-14 18:11:45 +11:00
stash_test.go chore: refactor rename stash 2022-10-16 09:30:04 +09:00
stash.go Merge pull request #1980 from ajhynes7/stash-untracked-changes 2022-11-14 18:46:53 +11:00
status.go Apply refactoring suggestions 2022-08-15 13:59:34 +01:00
submodule.go add a file close that was missed 2022-01-26 14:50:47 +11:00
sync_test.go feat: support for push --force-if-includes 2022-12-30 20:01:15 +09:00
sync.go feat: support for push --force-if-includes 2022-12-30 20:01:15 +09:00
tag_loader_test.go fix: improve backward compatibility 2022-12-31 22:47:21 +09:00
tag_loader.go fix: improve backward compatibility 2022-12-31 22:47:21 +09:00
tag.go start moving commit panel handlers into controller 2022-03-17 19:13:40 +11:00
version_test.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
version.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
working_tree_test.go Allow ignoring whitespace in diff in commits panel 2023-02-07 12:14:29 +01:00
working_tree.go Allow ignoring whitespace in diff in commits panel 2023-02-07 12:14:29 +01:00