diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-22 11:28:49 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-22 11:31:51 +0300 |
commit | 2b5f9a8c0cff511f2bb0833b1ee02645b79323f4 (patch) | |
tree | 7b9f4e8259e225995a59a805e1984248f153e43b /builtin-update-index.c | |
parent | 437b1b20df4b356c9342dac8d38849f24ef44f27 (diff) |
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