]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/refs-files-remove-empty-parent'
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2025 16:42:27 +0000 (09:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2025 16:42:27 +0000 (09:42 -0700)
When a ref creation at refs/heads/foo/bar fails, the files backend
now removes refs/heads/foo/ if the directory is otherwise not used.

* ps/refs-files-remove-empty-parent:
  refs/files: remove empty parent dirs when ref creation fails

1  2 
refs/files-backend.c
t/t1400-update-ref.sh

Simple merge
Simple merge