Earlier quoted context omitted.
Depends on whether you consider `git commit --allow-empty` a weird quirk ... I guess it would be reasonable to do so ;).
What's the purpose of this? I can think of ways to use/abuse it, but there has to be a specific reason that it was added as a feature to git.
The shortest pull request ever
11–20 of 55 posts
Re: The shortest pull request ever
#12Earlier quoted context omitted.
Depends on whether you consider `git commit --allow-empty` a weird quirk ... I guess it would be reasonable to do so ;).
What's the purpose of this? I can think of ways to use/abuse it, but there has to be a specific reason that it was added as a feature to git.
heroku stack:set heroku-22
git commit -m 'upgrade to heroku-22 stack' --allow-empty
git push heroku masterRe: The shortest pull request ever
#13Earlier quoted context omitted.
What's the purpose of this? I can think of ways to use/abuse it, but there has to be a specific reason that it was added as a feature to git.
git commit --allow-empty -m "trigger CI job"
Re: The shortest pull request ever
#14Presumably the plagiarism system was just looking for exact matches of long substrings.
Re: The shortest pull request ever
#15Earlier quoted context omitted.
Depends on whether you consider `git commit --allow-empty` a weird quirk ... I guess it would be reasonable to do so ;).
What's the purpose of this? I can think of ways to use/abuse it, but there has to be a specific reason that it was added as a feature to git.
I guess conceptually you could use it to represent "I started from nothing."
Re: The shortest pull request ever
#16My high school english classes would upload any papers students wrote to a site that would check for plagiarism. I figured out that if I inserted random zero-width no-break spaces in the middle of words my plagiarism score would drop to zero. Presumably the plagiarism system was just looking for exact matches of long substrings.
Re: The shortest pull request ever
#17My high school english classes would upload any papers students wrote to a site that would check for plagiarism. I figured out that if I inserted random zero-width no-break spaces in the middle of words my plagiarism score would drop to zero. Presumably the plagiarism system was just looking for exact matches of long substrings.
Re: The shortest pull request ever
#18Earlier quoted context omitted.
Depends on whether you consider `git commit --allow-empty` a weird quirk ... I guess it would be reasonable to do so ;).
What's the purpose of this? I can think of ways to use/abuse it, but there has to be a specific reason that it was added as a feature to git.
Re: The shortest pull request ever
#19I mean, it's the shortest _possible_ pull request (since I don't think you can make a git diff of zero bytes, barring some weird quirk), but also probably has the highest PR description : PR diff length ratio of any PR I've seen.
`git commit --allow-empty -m 'empty commit'` will do.
Re: The shortest pull request ever
#20I mean, it's the shortest _possible_ pull request (since I don't think you can make a git diff of zero bytes, barring some weird quirk), but also probably has the highest PR description : PR diff length ratio of any PR I've seen.
`git commit --allow-empty -m 'empty commit'` will do.