Was git double and triple dot notation (.. and ...) invented by the git guys or is it borrowed from some other place? I am just curious (and perhaps there’s more fun stuff to learn waiting to be discovered 🙂 ).
Was git double and triple dot notation ( .. and … ) invented by
Share
The double dot (
..) syntax is used in many places, for example in bash{1..3}will be expanded to1 2 3(this is called brace expansion). It is also used in Haskell to generate lists and in Ruby to create ranges (Ruby also supports triple dots to exclude the last element).