Skip to contentSkip to conversation

git-update-index.txt: Document the --really-refresh option.

PATCH New Štěpán Němec 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-update-index.txt: Document the --really-refresh option.

---
I sent this patch last week, but it seems to somehow have got lost among other mails. Of course it's nothing fabulous, still I expect at least somebody to tell me I'm not making any sense ;-)

Štěpán

Original message:

I noticed that --really-refresh is included in SYNOPSIS, but otherwise undocumented, although mentioned in the text and example. This is an attempt at fixing that.

 Documentation/git-update-index.txt |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
Documentation/git-update-index.txt +5 -1
index 25e0bbe..6052484 100644
@@ -99,6 +99,10 @@ in the index e.g. when merging in a commit;
 thus, in case the assumed-untracked file is changed upstream,
 you will need to handle the situation manually.
 
+--really-refresh::
+	Like '--refresh', but checks stat information unconditionally,
+	without regard to the "assume unchanged" setting.
+
 -g::
 --again::
 	Runs 'git-update-index' itself on the paths whose index
@@ -308,7 +312,7 @@ Configuration
 -------------
 
 The command honors `core.filemode` configuration variable.  If
-your repository is on an filesystem whose executable bits are
+your repository is on a filesystem whose executable bits are
 unreliable, this should be set to 'false' (see linkgit:git-config[1]).
 This causes the command to ignore differences in file modes recorded
 in the index and the file mode on the filesystem if they differ only on
Signature · 1 line
1.6.5.2.74.g610f9.dirty