git diff prints long usage help if not run in git repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When running `git diff` in a directory that’s not a git repo, it prints a warning that this is the case, followed by a very long help text that, on your average terminal, causes it to scroll so much that the warning isn’t even visible. It should only print the warning and nothing else like other git commands. This was tested with git version 2.37.2 on macOS.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux