path: root/refs/files-backend.c
diff options
authorMichael Haggerty <>2017-10-25 09:53:20 (GMT)
committerJunio C Hamano <>2017-10-27 01:12:42 (GMT)
commitcf79bd9f4c34c635a5a7eeff2699a24744c5a129 (patch)
tree740855f6bae159ccd6a1744e6897d42d2a1da8fc /refs/files-backend.c
parent5e00a6c873981f87165adfecf29ad0ecc2c2c5df (diff)
t1409: check that `packed-refs` is not rewritten unnecessarily
There is no need to rewrite the `packed-refs` file except for the case that we are deleting a reference that has a packed version. Verify that `packed-refs` is not rewritten when it shouldn't be. In fact, two of these tests fail: * A new (empty) `packed-refs` file is created when deleting any loose reference and no `packed-refs` file previously existed. * The `packed-refs` file is rewritten unnecessarily when deleting a loose reference that has no packed counterpart. Both problems will be fixed in the next commit. Signed-off-by: Michael Haggerty <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions