1
0
mirror of https://github.com/git/git.git synced 2024-11-20 13:54:45 +01:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Junio C Hamano 41a7aa588f Fix per-directory exclude handing for "git add"
In "dir_struct", each exclusion element in the exclusion stack records a
base string (pointer to the beginning with length) so that we can tell
where it came from, but this pointer is just pointing at the parameter
that is given by the caller to the push_exclude_per_directory()
function.

While read_directory_recursive() runs, calls to excluded() makes use
the data in the exclusion elements, including this base string.  The
caller of read_directory_recursive() is not supposed to free the
buffer it gave to push_exclude_per_directory() earlier, until it
returns.

The test case Bruce Stephens gave in the mailing list discussion
was simplified and added to the t3700 test.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-11-16 01:16:22 -08:00
arm
compat Simplify strchrnul() compat code 2007-11-11 12:10:35 -08:00
contrib contrib/hooks/post-receive-email: remove cruft, $committer is not used 2007-11-08 14:18:13 -08:00
Documentation Documentation: customize diff-options depending on particular command 2007-11-15 22:44:17 -08:00
git-gui
gitweb Merge branch 'maint' 2007-11-11 15:00:05 -08:00
mozilla-sha1
perl When exec() fails include the failing command in the error message 2007-11-07 11:39:37 -08:00
ppc
t Fix per-directory exclude handing for "git add" 2007-11-16 01:16:22 -08:00
templates hooks--update: decline deleting tags or branches by default, add config options 2007-11-08 14:17:32 -08:00
xdiff Remove unreachable statements 2007-11-15 21:23:47 -08:00
.gitignore Merge branch 'ph/parseopt' 2007-11-02 16:42:23 -07:00
.mailmap
alloc.c
archive-tar.c
archive-zip.c
archive.h
attr.c
attr.h
base85.c
blob.c
blob.h
builtin-add.c core.excludesfile clean-up 2007-11-14 15:08:04 -08:00
builtin-annotate.c
builtin-apply.c Remove unreachable statements 2007-11-15 21:23:47 -08:00
builtin-archive.c
builtin-blame.c builtin-blame: set up the work_tree before the first file access 2007-11-09 21:45:01 -08:00
builtin-branch.c Merge branch 'jc/format-patch-encoding' 2007-11-04 01:28:46 -07:00
builtin-bundle.c
builtin-cat-file.c
builtin-check-attr.c
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-commit-tree.c
builtin-config.c
builtin-count-objects.c
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c refresh_index_quietly(): express "optional" nature of index writing better 2007-11-08 16:26:23 -08:00
builtin-fetch--tool.c Add strchrnul() 2007-11-09 01:30:07 -08:00
builtin-fetch-pack.c restore fetching with thin-pack capability 2007-11-07 16:19:07 -08:00
builtin-fetch.c Merge branch 'sp/fetch-fix' 2007-11-14 14:26:04 -08:00
builtin-fmt-merge-msg.c
builtin-for-each-ref.c Merge branch 'maint' 2007-11-12 00:14:15 -08:00
builtin-fsck.c
builtin-gc.c gc: --prune prunes unreferenced objects. 2007-11-05 16:39:00 -08:00
builtin-grep.c grep with unmerged index 2007-11-05 18:57:58 -08:00
builtin-http-fetch.c
builtin-init-db.c
builtin-log.c format-patch: Add configuration and off switch for --numbered 2007-11-04 01:26:30 -08:00
builtin-ls-files.c git-ls-files: add --exclude-standard 2007-11-15 22:24:10 -08:00
builtin-ls-tree.c
builtin-mailinfo.c Make mailsplit and mailinfo strip whitespace from the start of the input 2007-11-02 01:58:40 -07:00
builtin-mailsplit.c Merge branch 'maint' 2007-11-09 00:21:44 -08:00
builtin-merge-base.c
builtin-merge-file.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c Merge branch 'np/pack' 2007-11-04 01:11:17 -07:00
builtin-pack-refs.c
builtin-prune-packed.c
builtin-prune.c
builtin-push.c push: teach push to pass --verbose option to transport layer 2007-11-11 14:37:03 -08:00
builtin-read-tree.c
builtin-reflog.c
builtin-rerere.c
builtin-reset.c Merge branch 'js/reset' 2007-11-11 15:19:24 -08:00
builtin-rev-list.c rev-list: Introduce --quiet to avoid /dev/null redirects 2007-11-11 17:09:55 -08:00
builtin-rev-parse.c
builtin-revert.c Merge branch 'maint' 2007-11-14 03:37:18 -08:00
builtin-rm.c Don't always require working tree for git-rm 2007-11-05 22:47:57 -08:00
builtin-runstatus.c
builtin-shortlog.c
builtin-show-branch.c
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c
builtin-tag.c Merge branch 'mh/retag' 2007-11-14 14:06:09 -08:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c
builtin-upload-archive.c
builtin-verify-pack.c
builtin-verify-tag.c
builtin-write-tree.c
builtin.h
bundle.c Style: place opening brace of a function definition at column 1 2007-11-08 15:35:32 -08:00
bundle.h
cache-tree.c
cache-tree.h
cache.h core.excludesfile clean-up 2007-11-14 15:08:04 -08:00
check-builtins.sh cherry is built-in, do not ship git-cherry.sh 2006-11-05 11:26:21 -08:00
check-racy.c ce_match_stat, run_diff_files: use symbolic constants for readability 2007-11-10 00:24:51 -08:00
color.c
color.h
combine-diff.c
commit.c Split off the pretty print stuff into its own file 2007-11-05 11:52:14 -08:00
commit.h
config.c core.excludesfile clean-up 2007-11-14 15:08:04 -08:00
config.mak.in Improve accuracy of check for presence of deflateBound. 2007-11-07 17:06:14 -08:00
configure.ac Merge branch 'ds/maint-deflatebound' 2007-11-07 18:17:20 -08:00
connect.c
convert.c
copy.c
COPYING
csum-file.c remove dead code from the csum-file interface 2007-11-05 12:55:33 -08:00
csum-file.h remove dead code from the csum-file interface 2007-11-05 12:55:33 -08:00
ctype.c
daemon.c Style: place opening brace of a function definition at column 1 2007-11-08 15:35:32 -08:00
date.c
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c git-add: make the entry stat-clean after re-adding the same contents 2007-11-10 00:37:39 -08:00
diff.c
diff.h git-add: make the entry stat-clean after re-adding the same contents 2007-11-10 00:37:39 -08:00
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c Fix per-directory exclude handing for "git add" 2007-11-16 01:16:22 -08:00
dir.h core.excludesfile clean-up 2007-11-14 15:08:04 -08:00
dump-cache-tree.c
entry.c Merge branch 'jc/maint-add-sync-stat' 2007-11-14 14:15:40 -08:00
environment.c core.excludesfile clean-up 2007-11-14 15:08:04 -08:00
exec_cmd.c
exec_cmd.h
fast-import.c Merge branch 'maint' 2007-11-14 03:37:18 -08:00
fetch-pack.h
fixup-builtins
generate-cmdlist.sh
git-add--interactive.perl git-ls-files: add --exclude-standard 2007-11-15 22:24:10 -08:00
git-am.sh
git-archimport.perl
git-bisect.sh git-bisect.sh: Fix sed script to work with AIX and BSD sed. 2007-11-09 00:19:24 -08:00
git-checkout.sh
git-clean.sh Merge branch 'maint' 2007-11-14 03:37:18 -08:00
git-clone.sh git-clone: honor "--" to end argument parsing 2007-11-03 21:44:13 -07:00
git-commit.sh Merge branch 'bs/maint-commit-options' 2007-11-14 14:25:46 -08:00
git-compat-util.h Fix preprocessor logic that determines the availablity of strchrnul(). 2007-11-12 18:16:34 -08:00
git-cvsexportcommit.perl cvsexportcommit: Add switch to specify CVS workdir 2007-11-01 17:19:36 -07:00
git-cvsimport.perl git-cvsimport: fix handling of user name when it is not set in CVSROOT 2007-11-09 01:23:40 -08:00
git-cvsserver.perl
git-filter-branch.sh
git-instaweb.sh Merge branch 'maint' 2007-11-09 00:21:44 -08:00
git-lost-found.sh Deprecate git-lost-found 2007-11-07 17:12:53 -08:00
git-ls-remote.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-ours.sh
git-merge-resolve.sh
git-merge-stupid.sh
git-merge.sh Merge branch 'jc/stash-create' 2007-11-14 14:05:47 -08:00
git-mergetool.sh
git-parse-remote.sh
git-pull.sh
git-quiltimport.sh
git-rebase--interactive.sh Merge branch 'maint' 2007-11-09 00:21:44 -08:00
git-rebase.sh rebase: fix "rebase --continue" breakage 2007-11-12 16:23:09 -08:00
git-relink.perl
git-remote.perl
git-repack.sh
git-request-pull.sh Avoid a few unportable, needlessly nested "...`...". 2007-11-08 15:54:58 -08:00
git-send-email.perl Merge branch 'maint' 2007-11-09 00:21:44 -08:00
git-sh-setup.sh
git-stash.sh Merge branch 'jc/stash-create' 2007-11-14 14:05:47 -08:00
git-submodule.sh Merge branch 'maint' 2007-11-09 00:21:44 -08:00
git-svn.perl git-svn: support for funky branch and project names over HTTP(S) 2007-11-12 00:22:49 -08:00
GIT-VERSION-GEN
git.c Don't always require working tree for git-rm 2007-11-05 22:47:57 -08:00
git.spec.in
gitk
grep.c
grep.h
hash-object.c git-hash-object should honor config variables 2007-11-11 02:51:53 -08:00
hash.c
hash.h
help.c Style: place opening brace of a function definition at column 1 2007-11-08 15:35:32 -08:00
http-push.c errors: "strict subset" -> "ancestor" 2007-11-03 21:29:18 -07:00
http-walker.c
http.c
http.h
ident.c
imap-send.c
index-pack.c Merge branch 'np/progress' 2007-11-14 14:04:19 -08:00
INSTALL
interpolate.c
interpolate.h
list-objects.c Fix memory leak in traverse_commit_list 2007-11-10 01:52:54 -08:00
list-objects.h
lockfile.c
log-tree.c
log-tree.h
mailmap.c
mailmap.h
Makefile Merge branch 'maint' 2007-11-14 03:37:18 -08:00
match-trees.c
merge-file.c
merge-index.c
merge-recursive.c
merge-tree.c
mktag.c
mktree.c
object-refs.c
object.c
object.h
pack-check.c
pack-redundant.c
pack-write.c Merge branch 'np/progress' 2007-11-02 16:27:37 -07:00
pack.h Merge branch 'np/progress' 2007-11-02 16:27:37 -07:00
pager.c
parse-options.c parse-options: abbreviation engine fix. 2007-11-05 22:46:45 -08:00
parse-options.h Some better parse-options documentation. 2007-11-05 18:47:01 -08:00
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path-list.c
path-list.h
path.c
peek-remote.c
pkt-line.c
pkt-line.h
pretty.c --format=pretty: avoid calculating expensive expansions twice 2007-11-11 02:04:46 -08:00
progress.c nicer display of thin pack completion 2007-11-08 15:43:41 -08:00
progress.h nicer display of thin pack completion 2007-11-08 15:43:41 -08:00
quote.c Style: place opening brace of a function definition at column 1 2007-11-08 15:35:32 -08:00
quote.h
reachable.c
reachable.h
read-cache.c Merge branch 'jc/maint-add-sync-stat' 2007-11-14 14:15:40 -08:00
README
receive-pack.c
reflog-walk.c
reflog-walk.h
refs.c refs.c: Remove unused get_ref_sha1() 2007-11-15 21:16:51 -08:00
refs.h refs.c: Remove unused get_ref_sha1() 2007-11-15 21:16:51 -08:00
RelNotes Start preparing for 1.5.3.6 2007-11-09 00:17:52 -08:00
remote.c
remote.h
revision.c
revision.h
run-command.c run-command: Support sending stderr to /dev/null 2007-11-11 17:09:55 -08:00
run-command.h run-command: Support sending stderr to /dev/null 2007-11-11 17:09:55 -08:00
send-pack.c errors: "strict subset" -> "ancestor" 2007-11-03 21:29:18 -07:00
server-info.c
setup.c builtin-blame: set up the work_tree before the first file access 2007-11-09 21:45:01 -08:00
sha1_file.c
sha1_name.c
shallow.c
shell.c
show-index.c
sideband.c sideband.c: ESC is spelled '\033' not '\e' for portability. 2007-11-05 12:53:14 -08:00
sideband.h
strbuf.c Merge branch 'rs/pretty' 2007-11-14 14:03:50 -08:00
strbuf.h add strbuf_adddup() 2007-11-11 02:04:46 -08:00
symlinks.c
tag.c
tag.h
tar.h
test-absolute-path.c
test-chmtime.c
test-date.c
test-delta.c
test-genrandom.c
test-match-trees.c
test-parse-options.c parse-options: abbreviation engine fix. 2007-11-05 22:46:45 -08:00
test-sha1.c
test-sha1.sh
trace.c Handle broken vsnprintf implementations in strbuf 2007-11-14 02:00:13 -08:00
transport.c push: teach push to pass --verbose option to transport layer 2007-11-11 14:37:03 -08:00
transport.h push: teach push to pass --verbose option to transport layer 2007-11-11 14:37:03 -08:00
tree-diff.c
tree-walk.c
tree-walk.h
tree.c
tree.h
unpack-file.c
unpack-trees.c Merge branch 'jc/maint-add-sync-stat' 2007-11-14 14:15:40 -08:00
unpack-trees.h
update-server-info.c
upload-pack.c upload-pack: Use finish_{command,async}() instead of waitpid(). 2007-11-05 22:47:28 -08:00
usage.c print warning/error/fatal messages in one shot 2007-11-09 22:25:36 -08:00
utf8.c Remove unreachable statements 2007-11-15 21:23:47 -08:00
utf8.h
var.c
walker.c
walker.h
write_or_die.c
wt-status.c core.excludesfile clean-up 2007-11-14 15:08:04 -08: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/tutorial.txt to get started, then see
Documentation/everyday.txt for a useful minimum set of commands,
and "man git-commandname" for documentation of each command.
CVS users may also want to read Documentation/cvs-migration.txt.

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.