diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-22 00:28:49 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-22 00:31:51 -0800 |
commit | 2b5f9a8c0cff511f2bb0833b1ee02645b79323f4 (patch) | |
tree | 7b9f4e8259e225995a59a805e1984248f153e43b /builtin-update-index.c | |
parent | 437b1b20df4b356c9342dac8d38849f24ef44f27 (diff) | |
download | git-2b5f9a8c0cff511f2bb0833b1ee02645b79323f4.tar.gz |
git-status: do not be totally useless in a read-only repository.
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>
Diffstat (limited to 'builtin-update-index.c')
0 files changed, 0 insertions, 0 deletions