Re:Going down the rabbit hole of Git's new bundle-URI
by ZeWaka on Sunday March 16, 2025 @07:00PM
(#43383400)
That's a line modification, so presumably you'd count just an insertion or just a deletion as 'smaller'.
[ Parent
| on HN ]
Re:Going down the rabbit hole of Git's new bundle-URI
by autarch on Sunday March 16, 2025 @07:11PM
(#43383483)
Yes, but so is the PR shown in the article. You're not going to get a diff that's less than one line unless you are using something besides the typical diff and patch tools.
Re:Going down the rabbit hole of Git's new bundle-URI
by san1t1 on Sunday March 16, 2025 @07:16PM
(#43383517)
My smallest PR was adding a missing executable file permission.
Re:Going down the rabbit hole of Git's new bundle-URI
by autarch on Sunday March 16, 2025 @07:22PM
(#43383554)
I think that wins, since presumably it was smaller than a one-byte change. I guess the smallest would be a single-bit file mode change, maybe?
Re:Going down the rabbit hole of Git's new bundle-URI
by dullcrisp on Sunday March 16, 2025 @11:23PM
(#43384888)
Only the user permission? Or group and others also?
Re:Going down the rabbit hole of Git's new bundle-URI
by Izkata on Monday March 17, 2025 @12:57AM
(#43385339)
In terms of file contents, I have a bugfix commit somewhere that just adds a single newline to a config file (no line deleted in the diff). We were using something that had its own own custom parser for what looked like an INI file, and we managed to find an edge case where the wrong number of blank lines would break it.