Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-22 11:28:49 +0300
committerJunio C Hamano <junkio@cox.net>2007-02-22 11:31:51 +0300
commit2b5f9a8c0cff511f2bb0833b1ee02645b79323f4 (patch)
tree7b9f4e8259e225995a59a805e1984248f153e43b /builtin-update-index.c
parent437b1b20df4b356c9342dac8d38849f24ef44f27 (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