~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to Documentation/git-update-index.txt

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-04-22 13:31:05 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20070422133105-tkmhz328g2p0epz1
Tags: 1:1.5.1.2-1
* new upstream point release.
* debian/changelog.upstream: upstream changes taken from mailing list
  announcement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
NAME
5
5
----
6
 
git-update-index - Modifies the index or directory cache
 
6
git-update-index - Register file contents in the working tree to the index
7
7
 
8
8
 
9
9
SYNOPSIS
289
289
 
290
290
The command honors `core.filemode` configuration variable.  If
291
291
your repository is on an filesystem whose executable bits are
292
 
unreliable, this should be set to 'false' (see gitlink:git-repo-config[1]).
 
292
unreliable, this should be set to 'false' (see gitlink:git-config[1]).
293
293
This causes the command to ignore differences in file modes recorded
294
294
in the index and the file mode on the filesystem if they differ only on
295
295
executable bit.   On such an unfortunate filesystem, you may
296
296
need to use `git-update-index --chmod=`.
297
297
 
 
298
Quite similarly, if `core.symlinks` configuration variable is set
 
299
to 'false' (see gitlink:git-config[1]), symbolic links are checked out
 
300
as plain files, and this command does not modify a recorded file mode
 
301
from symbolic link to regular file.
 
302
 
298
303
The command looks at `core.ignorestat` configuration variable.  See
299
304
'Using "assume unchanged" bit' section above.
300
305
 
301
306
 
302
307
See Also
303
308
--------
304
 
gitlink:git-repo-config[1]
 
309
gitlink:git-config[1]
305
310
 
306
311
 
307
312
Author