git's –end-of-options Flag
nesbitt.io
git's –end-of-options Flag
1–10 of 133 posts
Re: git's –end-of-options Flag
#2Remembering app-specific one-offs is kind of the worst!
Re: git's –end-of-options Flag
#3Re: git's –end-of-options Flag
#4Does anyone know why git broke the long standing convention of "--" early on? Kind of a nightmare for humans to use. Remembering app-specific one-offs is kind of the worst!
Re: git's –end-of-options Flag
#5Argh, that's when I wished for object oriented shells. Powershell sure isn't perfect but objects encoding their own meaning really helps differentiate those cases (but it may not always help the user if types aren't clear to the reader)
Re: git's –end-of-options Flag
#6Does anyone know why git broke the long standing convention of "--" early on? Kind of a nightmare for humans to use. Remembering app-specific one-offs is kind of the worst!
Re: git's –end-of-options Flag
#7> git log --end-of-options "$rev" -- "$path", Argh, that's when I wished for object oriented shells. Powershell sure isn't perfect but objects encoding their own meaning really helps differentiate those cases (but it may not always help the user if types aren't clear to the reader)
Re: git's –end-of-options Flag
#8By the way, something munched the article title. An endash is incorrect command-line usage. It’s supposed to be a double hyphen.
Re: git's –end-of-options Flag
#9I wonder: would it not be better to tell users with those edge cases to fix their problems some other way? To take an example from the article: why does someone have a filename beginning with a dash? Maybe don't do that.
Re: git's –end-of-options Flag
#10https://m.xkcd.com/1597/ By the way, something munched the article title. An endash is incorrect command-line usage. It’s supposed to be a double hyphen.