1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
fdff2dec79 Remove redundant variable dedeclarations
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
e6ef1642fa rename sha to hash 2024-04-12 08:33:47 +02:00
c59e6b6451 Cleanup: don't mess with globals in tests without resetting them
Changing globals in the init() function of a test file is a bad idea, as it
affects all other tests that run after it. Do it explicitly in each test
function that needs it, and take care of restoring the previous value
afterwards.
2024-03-29 10:55:33 +01:00
5df27c61ed Apply correct styling to root commit in graph
The root commit is special in that it has no parents. So we need to add a pipe that's headed for a commit
that doesn't actually exist i.e. the mythical empty tree commit. We're using the actual hash of that
pseudo-commit, but it's not being read anywhere.
2023-06-01 22:20:30 +10:00
549ce09f71 Fix deprecated rand.Seed 2023-03-19 10:00:19 +01:00
e67fef776b add author email to commits 2022-05-08 14:26:18 +10:00
9a9e3d506d more consistent rendering 2021-11-05 07:58:21 +11:00
802cfb1a04 render commit graph 2021-11-05 07:58:21 +11:00
7a464ae5b7 add graph algorithm 2021-11-01 10:03:49 +11:00