Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-27 | chore: use null char as a stash entries divider during loading | AzraelSec | |
2023-12-27 | feat: add age on stash lines | AzraelSec | |
2023-07-30 | Standardise on using lo for slice functions | Jesse Duffield | |
We've been sometimes using lo and sometimes using my slices package, and we need to pick one for consistency. Lo is more extensive and better maintained so we're going with that. My slices package was a superset of go's own slices package so in some places I've just used the official one (the methods were just wrappers anyway). I've also moved the remaining methods into the utils package. | |||
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 | |||
2023-05-20 | Add convenience builder for git commands | Jesse Duffield | |
2022-11-14 | Merge loaders package into git_commands package | sudoburt | |