Files
git/builtin
Ævar Arnfjörð Bjarmason ab2cf37183 {reset,merge}: call discard_index() before returning
These two built-ins both deal with the index, but weren't discarding
it. In subsequent commits we'll add more free()-ing to discard_index()
that we've missed, but let's first call the existing function.

We can doubtless add discard_index() (or its alias discard_cache()) to
a lot more places, but let's just add it here for now.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
2022-11-21 12:32:48 +09:00
..
2022-06-07 14:10:56 -07:00
2022-04-06 09:42:14 -07:00
2022-10-30 21:04:44 -04:00
2022-10-17 15:46:09 -07:00
2021-10-28 09:57:09 -07:00
2022-09-14 12:56:39 -07:00
2022-10-27 14:51:52 -07:00
2022-10-30 21:04:42 -04:00
2022-09-19 14:35:23 -07:00
2022-10-27 14:51:52 -07:00
2021-11-03 13:25:36 -07:00