about summary refs log tree commit diff
path: root/third_party/git/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-25T23·06+0100
committerVincent Ambo <tazjin@google.com>2020-05-25T23·06+0100
commit93ba78d6f4632ef1c5228965e3edc8c0faf88c1e (patch)
tree85730c182a9f5f492ade8e8ccdb1c2356f9900bd /third_party/git/Documentation/git-update-index.txt
parent6f8fbf4aa4b1654ab27d4829e114538761817de0 (diff)
revert(3p/git): Revert merge of git upstream at v2.26.2 r/852
This causes cgit to serve error pages, which is undesirable.

This reverts commit 5229c9b232de5bfa959ad6ebbb4c8192ac513352, reversing
changes made to f2b211131f2347342dde63975b09cf603149f1a3.
Diffstat (limited to 'third_party/git/Documentation/git-update-index.txt')
-rw-r--r--third_party/git/Documentation/git-update-index.txt24
1 files changed, 1 insertions, 23 deletions
diff --git a/third_party/git/Documentation/git-update-index.txt b/third_party/git/Documentation/git-update-index.txt
index 1489cb09a0..1c4d146a41 100644
--- a/third_party/git/Documentation/git-update-index.txt
+++ b/third_party/git/Documentation/git-update-index.txt
@@ -16,7 +16,6 @@ SYNOPSIS
 	     [--chmod=(+|-)x]
 	     [--[no-]assume-unchanged]
 	     [--[no-]skip-worktree]
-	     [--[no-]ignore-skip-worktree-entries]
 	     [--[no-]fsmonitor-valid]
 	     [--ignore-submodules]
 	     [--[no-]split-index]
@@ -114,11 +113,6 @@ you will need to handle the situation manually.
 	set and unset the "skip-worktree" bit for the paths. See
 	section "Skip-worktree bit" below for more information.
 
-
---[no-]ignore-skip-worktree-entries::
-	Do not remove skip-worktree (AKA "index-only") entries even when
-	the `--remove` option was specified.
-
 --[no-]fsmonitor-valid::
 	When one of these flags is specified, the object name recorded
 	for the paths are not updated. Instead, these options
@@ -432,7 +426,7 @@ specified by the splitIndex.sharedIndexExpire config variable (see
 linkgit:git-config[1]).
 
 To avoid deleting a shared index file that is still used, its
-modification time is updated to the current time every time a new split
+modification time is updated to the current time everytime a new split
 index based on the shared index file is either created or read from.
 
 UNTRACKED CACHE
@@ -549,22 +543,6 @@ The untracked cache extension can be enabled by the
 `core.untrackedCache` configuration variable (see
 linkgit:git-config[1]).
 
-NOTES
------
-
-Users often try to use the assume-unchanged and skip-worktree bits
-to tell Git to ignore changes to files that are tracked.  This does not
-work as expected, since Git may still check working tree files against
-the index when performing certain operations.  In general, Git does not
-provide a way to ignore changes to tracked files, so alternate solutions
-are recommended.
-
-For example, if the file you want to change is some sort of config file,
-the repository can include a sample config file that can then be copied
-into the ignored name and modified.  The repository can even include a
-script to treat the sample file as a template, modifying and copying it
-automatically.
-
 SEE ALSO
 --------
 linkgit:git-config[1],