1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 08:47:56 +01:00
Find a file
Linus Torvalds f62ce3de9d Make index preloading check the whole path to the file
This uses the new thread-safe 'threaded_has_symlink_leading_path()'
function to efficiently verify that the whole path leading up to the
filename is a proper path, and does not contain symlinks.

This makes 'ce_uptodate()' a much stronger guarantee: it no longer just
guarantees that the 'lstat()' of the path would match, it also means
that we know that people haven't played games with moving directories
around and covered it up with symlinks.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-07-09 22:38:34 -07:00
arm
compat Merge branch 'sp/msysgit' 2009-06-13 12:50:42 -07:00
contrib completion: __git_config_get_set_variables() handle values with spaces 2009-07-06 09:45:00 -07:00
Documentation Merge branch 'sb/show-ref-parse-options' 2009-07-06 09:38:58 -07:00
git-gui
gitk-git Merge git://git.kernel.org/pub/scm/gitk/gitk 2009-06-20 11:54:37 -07:00
gitweb Merge branch 'maint' 2009-06-27 13:44:25 -07:00
mozilla-sha1
perl
ppc
t Merge branch 'uk/rev-parse-parse-opt' 2009-07-06 09:38:01 -07:00
templates
xdiff Merge branch 'cb/maint-1.6.0-xdl-merge-fix' into maint 2009-06-02 07:48:44 -07:00
.gitattributes .gitattributes: CR at the end of the line is an error 2009-06-21 10:42:37 -07:00
.gitignore
.mailmap
abspath.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
alias.c
alloc.c
archive-tar.c
archive-zip.c
archive.c
archive.h
attr.c attr: plug minor memory leak 2009-06-30 16:12:24 -07:00
attr.h
base85.c Fix big left-shifts of unsigned char 2009-06-18 09:22:46 -07:00
bisect.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
bisect.h bisect: add parameters to "filter_skipped" 2009-06-06 11:26:56 -07:00
blob.c
blob.h
branch.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
branch.h
builtin-add.c Add 'fill_directory()' helper function for directory traversal 2009-07-09 01:11:26 -07:00
builtin-annotate.c
builtin-apply.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-archive.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-bisect--helper.c
builtin-blame.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-branch.c
builtin-bundle.c
builtin-cat-file.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-check-attr.c
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-checkout.c Merge branch 'lt/maint-diff-reduce-lstat' into maint 2009-05-25 19:04:08 -07:00
builtin-clean.c Add 'fill_directory()' helper function for directory traversal 2009-07-09 01:11:26 -07:00
builtin-clone.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-commit-tree.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-commit.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-config.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-count-objects.c
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-fast-export.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-fetch--tool.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-fetch-pack.c fetch-pack: close output channel after sideband demultiplexer terminates 2009-06-08 21:18:41 -07:00
builtin-fetch.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-fmt-merge-msg.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-for-each-ref.c Merge branch 'ak/maint-for-each-ref-no-lookup' 2009-06-18 10:33:09 -07:00
builtin-fsck.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-gc.c
builtin-grep.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-help.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
builtin-http-fetch.c
builtin-init-db.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-log.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-ls-files.c Add 'fill_directory()' helper function for directory traversal 2009-07-09 01:11:26 -07:00
builtin-ls-remote.c
builtin-ls-tree.c
builtin-mailinfo.c
builtin-mailsplit.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-merge-base.c
builtin-merge-file.c
builtin-merge-ours.c
builtin-merge-recursive.c
builtin-merge.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-mktree.c
builtin-mv.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-name-rev.c
builtin-pack-objects.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-pack-refs.c
builtin-prune-packed.c
builtin-prune.c
builtin-push.c Allow push and fetch urls to be different 2009-06-09 23:46:47 -07:00
builtin-read-tree.c
builtin-receive-pack.c receive-pack: do not send error details to the client 2009-06-21 20:19:21 -07:00
builtin-reflog.c
builtin-remote.c Merge branch 'cf/maint-remote-uploadpack-useconfig-fix' 2009-07-01 19:40:54 -07:00
builtin-rerere.c
builtin-reset.c
builtin-rev-list.c bisect: add parameters to "filter_skipped" 2009-06-06 11:26:56 -07:00
builtin-rev-parse.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-revert.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-rm.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
builtin-send-pack.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-shortlog.c
builtin-show-branch.c show-branch: don't use LASTARG_DEFAULT with OPTARG 2009-06-09 00:15:57 -07:00
builtin-show-ref.c show-ref: migrate to parse-options 2009-06-20 23:50:42 -07:00
builtin-stripspace.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-symbolic-ref.c
builtin-tag.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-tar-tree.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
builtin-unpack-objects.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
builtin-update-index.c
builtin-update-ref.c
builtin-upload-archive.c Merge branch 'pb/maint-1.6.2-userdiff-fix' into maint 2009-06-21 21:08:05 -07:00
builtin-verify-pack.c
builtin-verify-tag.c
builtin-write-tree.c
builtin.h
bundle.c
bundle.h
cache-tree.c
cache-tree.h
cache.h Export thread-safe version of 'has_symlink_leading_path()' 2009-07-09 20:05:19 -07:00
check-builtins.sh
check-racy.c
check_bindir
color.c
color.h
combine-diff.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
command-list.txt
commit.c Allow the Unix epoch to be a valid commit date 2009-07-06 09:36:16 -07:00
commit.h bisect: drop unparse_commit() and use clear_commit_marks() 2009-05-27 13:45:45 -07:00
config.c
config.mak.in Merge branch 'bc/solaris' 2009-06-13 12:48:34 -07:00
configure.ac Merge branch 'mn/maint-iconv-autoconf' 2009-06-20 21:47:22 -07:00
connect.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
convert.c
copy.c
COPYING
csum-file.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
csum-file.h
ctype.c
daemon.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
date.c
decorate.c
decorate.h
delta.h Fix big left-shifts of unsigned char 2009-06-18 09:22:46 -07:00
diff-delta.c
diff-lib.c Merge branch 'jc/cache-tree' 2009-06-20 21:47:30 -07:00
diff-no-index.c
diff.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
diff.h
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c Avoid using 'lstat()' to figure out directories 2009-07-09 20:05:19 -07:00
dir.h Simplify read_directory[_recursive]() arguments 2009-07-09 01:11:28 -07:00
editor.c
entry.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
environment.c
exec_cmd.c
exec_cmd.h
fast-import.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
fetch-pack.h
fixup-builtins
fsck.c Allow the Unix epoch to be a valid commit date 2009-07-06 09:36:16 -07:00
fsck.h
generate-cmdlist.sh
git-add--interactive.perl add -i: do not dump patch during application 2009-06-03 00:11:15 -07:00
git-am.sh Merge branch 'gb/am-foreign' 2009-07-06 09:38:33 -07:00
git-archimport.perl
git-bisect.sh
git-compat-util.h Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
git-cvsexportcommit.perl Avoid generating a warning if $fullname{$file} is undefined 2009-07-06 09:36:43 -07:00
git-cvsimport.perl
git-cvsserver.perl
git-difftool--helper.sh
git-difftool.perl
git-filter-branch.sh
git-instaweb.sh
git-lost-found.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh
git-mergetool.sh
git-parse-remote.sh parse-remote: remove unused functions 2009-06-11 19:50:45 -07:00
git-pull.sh Merge branch 'sb/pull-rebase' 2009-06-20 21:47:13 -07:00
git-quiltimport.sh
git-rebase--interactive.sh Merge branch 'uk/maint-1.5.3-rebase-i-reflog' into maint 2009-06-11 14:14:00 -07:00
git-rebase.sh Merge branch 'sb/quiet-porcelains' 2009-07-01 19:40:50 -07:00
git-relink.perl
git-repack.sh submodule, repack: migrate to git-sh-setup's say() 2009-06-18 09:50:37 -07:00
git-request-pull.sh request-pull: really really disable pager 2009-07-01 13:20:00 -07:00
git-send-email.perl Test cccmd in t9001-send-email.sh and fix some bugs 2009-06-18 09:55:59 -07:00
git-sh-setup.sh git-sh-setup: introduce say() for quiet options 2009-06-18 09:50:31 -07:00
git-stash.sh stash: teach quiet option 2009-06-18 11:54:57 -07:00
git-submodule.sh Merge branch 'sb/quiet-porcelains' 2009-07-01 19:40:50 -07:00
git-svn.perl git-svn: Canonicalize svn urls to prevent libsvn assertion 2009-06-26 14:08:52 -07:00
GIT-VERSION-GEN GIT 1.6.3.3 2009-06-21 21:15:50 -07:00
git-web--browse.sh git: browsing paths with spaces when using the start command 2009-06-01 00:22:01 -07:00
git.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
git.spec.in
graph.c
graph.h
grep.c grep: fix empty word-regexp matches 2009-06-03 11:32:29 -07:00
grep.h
hash-object.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
hash.c
hash.h
help.c
help.h
http-push.c http-push: fix xml_entities() string parsing overrun 2009-07-06 09:36:08 -07:00
http-walker.c Merge branch 'rc/maint-http-local-slot-fix' into maint 2009-06-21 21:15:31 -07:00
http.c Merge branch 'maint' 2009-06-18 10:39:17 -07:00
http.h http*: add helper methods for fetching objects (loose) 2009-06-06 11:03:11 -07:00
ident.c
imap-send.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
index-pack.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
INSTALL
levenshtein.c
levenshtein.h
list-objects.c
list-objects.h
ll-merge.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
ll-merge.h
lockfile.c
log-tree.c log-tree: fix confusing comment 2009-07-01 11:16:54 -07:00
log-tree.h
mailmap.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
mailmap.h
Makefile Merge branch 'jk/use-our-regexp' 2009-07-06 09:38:08 -07:00
match-trees.c
merge-file.c
merge-index.c Simplify some instances of run_command() by using run_command_v_opt(). 2009-06-09 00:15:57 -07:00
merge-recursive.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
merge-recursive.h
merge-tree.c
mktag.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
name-hash.c
object.c
object.h
pack-check.c Don't expect verify_pack() callers to set pack_size 2009-06-06 10:56:27 -07:00
pack-redundant.c
pack-refs.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
pack-refs.h
pack-revindex.c
pack-revindex.h
pack-write.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
pack.h
pager.c
parse-options.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
parse-options.h Merge branch 'sb/parse-options-integer' 2009-06-18 10:36:22 -07:00
patch-delta.c Fix big left-shifts of unsigned char 2009-06-18 09:22:46 -07:00
patch-id.c
patch-ids.c
patch-ids.h
path.c diff: generate pretty filenames in prep_temp_blob() 2009-05-31 17:57:59 -07:00
pkt-line.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
pkt-line.h
preload-index.c Make index preloading check the whole path to the file 2009-07-09 22:38:34 -07:00
pretty.c
progress.c
progress.h
quote.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
quote.h
reachable.c
reachable.h
read-cache.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
README
reflog-walk.c
reflog-walk.h
refs.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
refs.h
RelNotes GIT 1.6.3.3 2009-06-21 21:15:50 -07:00
remote.c Merge branch 'cb/maint-fetch-refspec-wo-dst' 2009-07-06 09:39:38 -07:00
remote.h Merge branch 'mg/pushurl' 2009-06-20 21:47:27 -07:00
rerere.c
rerere.h
revision.c git log: add '--merges' flag to match '--no-merges' 2009-06-29 12:32:51 -07:00
revision.h git log: add '--merges' flag to match '--no-merges' 2009-06-29 12:32:51 -07:00
run-command.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
run-command.h
send-pack.h
server-info.c
setup.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
sha1-lookup.c
sha1-lookup.h
sha1_file.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
sha1_name.c
shallow.c
shell.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
shortlog.h
show-index.c
sideband.c
sideband.h
sigchain.c
sigchain.h
strbuf.c fread does not return negative on error 2009-06-23 16:57:15 -07:00
strbuf.h
string-list.c
string-list.h
symlinks.c Export thread-safe version of 'has_symlink_leading_path()' 2009-07-09 20:05:19 -07:00
tag.c
tag.h
tar.h
test-chmtime.c test-chmtime: work around Windows limitation 2009-06-01 00:10:08 -07:00
test-ctype.c
test-date.c
test-delta.c
test-dump-cache-tree.c
test-genrandom.c
test-match-trees.c
test-parse-options.c Fix various sparse warnings in the git source code 2009-06-20 21:52:55 -07:00
test-path-utils.c
test-sha1.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
test-sha1.sh
test-sigchain.c
thread-utils.c
thread-utils.h
trace.c
transport.c Merge branch 'tr/die_errno' 2009-07-06 09:39:46 -07:00
transport.h
tree-diff.c Merge branch 'ne/maint-1.6.0-diff-tree-t-r-show-directory' 2009-07-01 19:40:47 -07:00
tree-walk.c
tree-walk.h
tree.c
tree.h
unimplemented.sh
unpack-file.c Use die_errno() instead of die() when checking syscalls 2009-06-27 11:14:53 -07:00
unpack-trees.c Simplify read_directory[_recursive]() arguments 2009-07-09 01:11:28 -07:00
unpack-trees.h
update-server-info.c
upload-pack.c upload-pack: squelch progress indicator if client cannot see it 2009-06-18 11:38:43 -07:00
usage.c die_errno(): double % in strerror() output just in case 2009-06-27 11:14:53 -07:00
userdiff.c avoid exponential regex match for java and objc function names 2009-06-18 09:52:10 -07:00
userdiff.h
utf8.c On Solaris choose the OLD_ICONV iconv() declaration based on the UNIX spec 2009-06-06 13:21:05 -07:00
utf8.h
var.c
walker.c
walker.h
wrapper.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
write_or_die.c Convert existing die(..., strerror(errno)) to die_errno() 2009-06-27 11:14:53 -07:00
ws.c attribute: whitespace set to true detects all errors known to git 2009-06-21 10:43:10 -07:00
wt-status.c Add 'fill_directory()' helper function for directory traversal 2009-07-09 01:11:26 -07:00
wt-status.h
xdiff-interface.c
xdiff-interface.h

////////////////////////////////////////////////////////////////

	GIT - the stupid content tracker

////////////////////////////////////////////////////////////////

"git" can mean anything, depending on your mood.

 - random three-letter combination that is pronounceable, and not
   actually used by any common UNIX command.  The fact that it is a
   mispronunciation of "get" may or may not be relevant.
 - stupid. contemptible and despicable. simple. Take your pick from the
   dictionary of slang.
 - "global information tracker": you're in a good mood, and it actually
   works for you. Angels sing, and a light suddenly fills the room.
 - "goddamn idiotic truckload of sh*t": when it breaks

Git is a fast, scalable, distributed revision control system with an
unusually rich command set that provides both high-level operations
and full access to internals.

Git is an Open Source project covered by the GNU General Public License.
It was originally written by Linus Torvalds with help of a group of
hackers around the net. It is currently maintained by Junio C Hamano.

Please read the file INSTALL for installation instructions.

See Documentation/gittutorial.txt to get started, then see
Documentation/everyday.txt for a useful minimum set of commands, and
Documentation/git-commandname.txt for documentation of each command.
If git has been correctly installed, then the tutorial can also be
read with "man gittutorial" or "git help tutorial", and the
documentation of each command with "man git-commandname" or "git help
commandname".

CVS users may also want to read Documentation/gitcvs-migration.txt
("man gitcvs-migration" or "git help cvs-migration" if git is
installed).

Many Git online resources are accessible from http://git.or.cz/
including full documentation and Git related tools.

The user discussion and development of Git take place on the Git
mailing list -- everyone is welcome to post bug reports, feature
requests, comments and patches to git@vger.kernel.org. To subscribe
to the list, send an email with just "subscribe git" in the body to
majordomo@vger.kernel.org. The mailing list archives are available at
http://marc.theaimsgroup.com/?l=git and other archival sites.

The messages titled "A note from the maintainer", "What's in
git.git (stable)" and "What's cooking in git.git (topics)" and
the discussion following them on the mailing list give a good
reference for project status, development direction and
remaining tasks.