"File" comments all get outdated when you push anything, even if that file isn't touched #86527
Replies: 7 comments 7 replies
-
GitHub comments on specific lines or sections of a file are associated with a specific commit. When you push changes to a repository, GitHub creates a new commit for those changes. Even if the changes are made in a different file, the commit hash is different. If you push changes to the repository, GitHub considers the comments as associated with a previous commit, and it marks them as outdated. I hope that helps. |
Beta Was this translation helpful? Give feedback.
-
This behavior is incredible frustrating. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Commenting to say that I also want this fixed/changed makes the on file comment feature basically useless and I default to comments on the top of files like others here |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I'd like to get it fixed as well |
Beta Was this translation helpful? Give feedback.
-
I agree that GitHub should change this and make outdated comments an optional feature. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
This may make some technical sense for some reason unknown to me, but I think the retention of comments should at least be attempted if a push doesn't touch that file.
Beta Was this translation helpful? Give feedback.
All reactions