Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-25 | Support external diff command in diffing mode | Stefan Haller | |
2024-04-25 | Use git.paging.colorArg in diffing mode diff | Stefan Haller | |
2024-04-25 | Cleanup: use separate Arg calls for unrelated arguments | Stefan Haller | |
2024-02-18 | Set diff.noprefix=false for all other diff commands too | Stefan Haller | |
This fixes problems with being able to stage things in a custom patch correctly. | |||
2024-01-24 | Refactor repo_paths.go to use git rev-parse | John Whitley | |
This changes GetRepoPaths() to pull information from `git rev-parse` instead of effectively reimplementing git's logic for pathfinding. This change fixes issues with bare repos, esp. versioned homedir use cases, by aligning lazygit's path handling to what git itself does. This change also enables lazygit to run from arbitrary subdirectories of a repository, including correct handling of symlinks, including "deep" symlinks into a repo, worktree, a repo's submodules, etc. Integration tests are now resilient against unintended side effects from the host's environment variables. Of necessity, $PATH and $TERM are the only env vars allowed through now. | |||
2024-01-10 | Add command to find base commit for creating a fixup | Stefan Haller | |
2024-01-09 | Add command to open git difftool | Stefan Haller | |
2023-12-07 | feat: introduce a copy menu into the file view | AzraelSec | |
2023-05-23 | Construct arg vector manually rather than parse string | Jesse Duffield | |
By constructing an arg vector manually, we no longer need to quote arguments Mandate that args must be passed when building a command Now you need to provide an args array when building a command. There are a handful of places where we need to deal with a string, such as with user-defined custom commands, and for those we now require that at the callsite they use str.ToArgv to do that. I don't want to provide a method out of the box for it because I want to discourage its use. For some reason we were invoking a command through a shell when amending a commit, and I don't believe we needed to do that as there was nothing user- supplied about the command. So I've switched to using a regular command out- side the shell there |