]> Sergey Matveev's repositories - public-inbox.git/commit
ds: share watch_chg between watch_read/watch_write
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:20 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:26 +0000 (05:26 +0000)
commit393f8e88f31def03f4e951ccca4d3f59347abb64
tree0d8068b464c1c1ee906775e2c48bf0821efd9e13
parent78380ca176e62503407b76df20fe3e9a8a33aa35
ds: share watch_chg between watch_read/watch_write

There was much duplicate logic between watch_read and
watch_write.  Share that logic, and give us room to enable
edge-triggered or one-shot notifications in the future.
lib/PublicInbox/DS.pm