79838455

Date: 2025-12-05 00:27:32
Score: 5.5
Natty:
Report link

@Afolabi Adedayo Thanks for your comment. Yes, I understand that. But my question is the following. Suppose that I have only added one file, foo, to the cache, by doing git add foo. I fully understand why it needs to run diff old_foo foo. But why does it need to do any comparison at all on all of the other files in the repo? Aren't all the other files in the repo irrelevant when I am only committing foo?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Afolabi
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: sasquires