mirror of
https://github.com/git/git.git
synced 2026-03-02 03:26:24 +00:00
This makes git-status work semi-decently in a read-only repository. Earlier, the command simply died with "cannot lock the index file" before giving any useful information to the user. Because index won't be updated in a read-only repository, stat-dirty paths appear in the "Changed but not updated" list. Signed-off-by: Junio C Hamano <junkio@cox.net>
14 KiB
Executable File
14 KiB
Executable File