you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 4 months ago

Greybeard dev here, just stepping by to say I would do the same, this works and does nothing weird if there is nothing to commit.

I don't know what the problem of the other crying person is, but robust IO watching should not be done in bash and whatever the fancy solution is it will not work as reliably as this.

  • source
  • parent