]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
chdir-notify: add function to unregister listeners
authorPatrick Steinhardt <ps@pks.im>
Wed, 19 Nov 2025 07:50:59 +0000 (08:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Nov 2025 20:16:00 +0000 (12:16 -0800)
commit2574c617362a0c67d15fa01e01cdbd0f6bcdbc93
tree2aa602afe629654706d9c0fc021795c7f27592de
parent35d9fc65edc0a5df9f714d02afaa2c942fb28570
chdir-notify: add function to unregister listeners

While we (obviously) have a way to register new listeners that get
called whenever we chdir(3p), we don't have an equivalent that can be
used to unregister such a listener again.

Add one, as it will be required in a subsequent commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
chdir-notify.c
chdir-notify.h