waseem1302-x commented on issue #49565:
URL: https://github.com/apache/airflow/issues/49565#issuecomment-7108702735

   Hi, I'm working on this.
   
   I reproduced the gap first: renaming a doc file without updating 
`redirects.txt` is not caught by any existing hook. A staged rename shows up in 
git's own rename detection, but nothing flags the missing redirect entry, so 
the old URL would break silently.
   
   I'm implementing the fail-only hook discussed above: fail the commit when 
the old path is missing from the owning docs tree's `redirects.txt`, no 
auto-add. I'll open a draft PR once the hook and its tests are verified locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to