jesseduffield.lazygit/pkg/commands
Stefan Haller e0a2d97f0f Put subject last in git log's prettyFormat
We are going to truncate overly long lines returned from git log, and the most
likely field that is going to make the line too long is the subject; so we must
put it last, otherwise we'd end up with not enough fields to split when it's too
long.

It might not be obvious from the diff what's happening to the mock command
output in the test: it didn't have the divergence field (">") at all, which was
kind of a bug. It didn't matter for these tests though, because we are not
testing the divergence here, and our production code happens to be resilient
against it missing. But now we must add the ">" field before the subject.
2024-05-15 13:27:01 +02:00
..
git_commands Put subject last in git log's prettyFormat 2024-05-15 13:27:01 +02:00
git_config Remove secureexec package 2023-07-30 19:59:51 +10:00
hosting_service renaming variable to CommitHash 2024-04-12 08:33:47 +02:00
models Switch git-todo-parser from fsmiamoto original repo to stefanhaller's fork 2024-04-22 20:59:15 +02:00
oscommands Handle scanner error in RunAndProcessLines 2024-05-15 13:27:01 +02:00
patch standardize 'Commit Sha' to 'Commit Hash' 2024-04-12 08:31:40 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
git.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00