mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01: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