diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-03-20 17:29:06 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-22 16:44:37 +0900 |
commit | 5a1dbd48bcd1b917ce103e4f5bb68d3cfadf9543 (patch) | |
tree | 3afc4c17451445d2a0b3431791e741f5ee0b107f /Documentation/RelNotes/2.15.0.txt | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-5a1dbd48bcd1b917ce103e4f5bb68d3cfadf9543.tar.xz |
commit: improve error message in "-a <paths>" case
I did something stupid today and got
$ git commit -a --fixup= @^
fatal: Paths with -a does not make sense.
which didn't make any sense (at least for the first few seconds).
Include the first path(spec) in the error message to help spot the
problem quicker. Now it shows
fatal: paths '@^ ...' with -a does not make sense
which should ring some bell because @^ should clearly not be considered
a path.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.15.0.txt')
0 files changed, 0 insertions, 0 deletions