Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> writes: > This form requires specifying "--" twice. If a file name happens to be > "--", it may be misunderstood as the second "--" marker. This is an > unfortunate consequence for this syntax. Users can still use "./--" or > similar to workaround this. This is not a new "problem" (and it is probably not a problem to begin with). If you had "--" in the working tree and you wanted to treat it as a path, you said either one of these: $ git log HEAD ./-- $ git log HEAD -- -- The latter is what your patch breaks, I suspect. Also it forces existing scripts and programs that knew "everything in this array is a pathspec" and added "--" before adding the contents of the array to form a command line to drive "git log" family of commands to be updated. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html