Go to file
Jonathan Nieder c40d92e4c7 Makefile: Fix CDPATH problem
If CDPATH is set, "cd" prints its destination to stdout, causing
the common (cd a && tar cf - .) | (cd b && tar xf -) idiom to fail.
For example:

 make -C templates DESTDIR='' install
 make[1]: Entering directory `/users/e477610/exptool/src/git-1.7.0.2/templates'
 install -d -m 755 '/home/e477610/exptool/share/git-core/templates'
 (cd blt && gtar cf - .) | \
	(cd '/home/e477610/exptool/share/git-core/templates' && umask 022 && gtar xof -)
 gtar: This does not look like a tar archive

Most git scripts already protect against use of CDPATH through
git-sh-setup, but the Makefile doesn’t.

Reported-by: Michael Cox <mhcox@bluezoosoftware.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-03-20 08:25:31 -07:00
Documentation Documentation: receive.denyCurrentBranch defaults to 'refuse' 2010-03-17 11:07:06 -07:00
block-sha1
compat Merge branch 'fn/maint-mkdtemp-compat' into maint 2010-03-08 00:36:02 -08:00
contrib bash: complete *_HEAD refs if present 2010-03-17 11:03:44 -07:00
git-gui Merge git://repo.or.cz/git-gui 2010-02-07 15:52:28 -08:00
git_remote_helpers
gitk-git Merge git://git.kernel.org/pub/scm/gitk/gitk 2010-02-05 21:22:59 -08:00
gitweb Merge branch 'jn/gitweb-config-error-die' into maint 2010-03-04 22:27:12 -08:00
perl Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
ppc
t don't use default revision if a rev was specified 2010-03-13 21:23:43 -08:00
templates
xdiff
.gitattributes
.gitignore Add test-run-command to .gitignore 2010-01-25 09:42:31 -08:00
.mailmap
COPYING
GIT-VERSION-GEN Git 1.7.0.2 2010-03-07 11:07:51 -08:00
INSTALL
Makefile Makefile: Fix CDPATH problem 2010-03-20 08:25:31 -07:00
README
RelNotes Merge accumulated fixes to prepare for 1.7.0.3 2010-03-08 00:50:37 -08:00
abspath.c
advice.c Reword "detached HEAD" notification 2010-01-29 22:11:00 -08:00
advice.h Reword "detached HEAD" notification 2010-01-29 22:11:00 -08:00
alias.c
alloc.c
archive-tar.c
archive-zip.c
archive.c
archive.h
attr.c
attr.h
base85.c
bisect.c Merge branch 'cc/maint-bisect-paths' into maint-1.6.6 2010-03-07 14:53:35 -08:00
bisect.h
blob.c
blob.h
branch.c
branch.h
builtin-add.c
builtin-annotate.c
builtin-apply.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
builtin-archive.c Merge branch 'maint' 2010-02-07 15:52:12 -08:00
builtin-bisect--helper.c
builtin-blame.c blame: fix indent of line numbers 2010-03-13 12:04:17 -08:00
builtin-branch.c
builtin-bundle.c
builtin-cat-file.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
builtin-check-attr.c
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-checkout.c Merge branch 'jc/maint-1.6.1-checkout-m-custom-merge' into maint 2010-02-10 12:54:15 -08:00
builtin-clean.c git-clean: fix the description of the default behavior 2010-02-04 15:12:13 -08:00
builtin-clone.c
builtin-commit-tree.c commit-tree: remove unused #define 2010-01-25 09:53:12 -08:00
builtin-commit.c Merge branch 'jc/maint-status-preload' into maint 2010-03-04 22:25:45 -08:00
builtin-config.c Merge branch 'jh/maint-config-file-prefix' into maint 2010-02-10 13:02:05 -08:00
builtin-count-objects.c
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c
builtin-fast-export.c
builtin-fetch-pack.c run-command: support custom fd-set in async 2010-02-05 20:57:22 -08:00
builtin-fetch.c fetch --all/--multiple: keep all the fetched branch information 2010-02-24 11:16:36 -08:00
builtin-fmt-merge-msg.c
builtin-for-each-ref.c
builtin-fsck.c Update git fsck --full short description to mention packs 2010-02-05 13:01:45 -08:00
builtin-gc.c
builtin-grep.c Merge branch 'jc/grep-author-all-match-implicit' into maint 2010-03-08 00:35:59 -08:00
builtin-hash-object.c
builtin-help.c
builtin-index-pack.c
builtin-init-db.c
builtin-log.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
builtin-ls-files.c
builtin-ls-remote.c
builtin-ls-tree.c
builtin-mailinfo.c mailinfo: do not strip leading spaces even for a header line 2010-02-19 21:55:33 -08:00
builtin-mailsplit.c
builtin-merge-base.c
builtin-merge-file.c
builtin-merge-index.c
builtin-merge-ours.c
builtin-merge-recursive.c
builtin-merge-tree.c
builtin-merge.c
builtin-mktag.c
builtin-mktree.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c Use git_mkstemp_mode and xmkstemp_mode in odb_mkstemp, not chmod later. 2010-02-22 15:24:46 -08:00
builtin-pack-redundant.c
builtin-pack-refs.c
builtin-patch-id.c
builtin-prune-packed.c
builtin-prune.c prune: honor --expire=never 2010-02-28 10:28:05 -08:00
builtin-push.c Merge branch 'jk/maint-push-tracking-wo-remote' into maint 2010-03-08 00:36:01 -08:00
builtin-read-tree.c Merge branch 'jc/fix-tree-walk' 2010-01-24 17:35:58 -08:00
builtin-receive-pack.c Merge branch 'sp/maint-push-sideband' into maint 2010-03-02 22:54:50 -08:00
builtin-reflog.c reflog: honor gc.reflogexpire=never 2010-02-28 10:28:26 -08:00
builtin-remote.c
builtin-replace.c
builtin-rerere.c
builtin-reset.c
builtin-rev-list.c Merge branch 'jc/grep-author-all-match-implicit' into maint 2010-03-08 00:35:59 -08:00
builtin-rev-parse.c rev-parse: --local-env-vars option 2010-02-24 16:24:25 -08:00
builtin-revert.c cherry-pick: prettify the advice message 2010-02-11 22:11:12 -08:00
builtin-rm.c
builtin-send-pack.c Merge branch 'sp/maint-push-sideband' into maint 2010-03-02 22:54:50 -08:00
builtin-shortlog.c Merge branch 'rs/optim-text-wrap' into maint-1.6.6 2010-03-07 14:53:45 -08:00
builtin-show-branch.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c
builtin-tag.c
builtin-tar-tree.c
builtin-unpack-file.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c
builtin-update-server-info.c
builtin-upload-archive.c
builtin-var.c Make 'git var GIT_PAGER' always print the configured pager 2010-02-14 18:23:17 -08: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 Merge branch 'gb/maint-submodule-env' into maint 2010-03-08 00:36:02 -08:00
check-builtins.sh
check-racy.c
check_bindir
color.c
color.h
combine-diff.c
command-list.txt
commit.c Merge branch 'maint-1.6.5' into maint 2010-01-29 23:36:13 -08:00
commit.h
config.c
config.mak.in Make NO_PTHREADS the sole thread configuration variable 2010-01-31 11:50:50 -08:00
configure.ac Merge branch 'bw/no-python-autoconf' 2010-02-02 21:48:13 -08:00
connect.c Merge branch 'gb/maint-submodule-env' into maint 2010-03-08 00:36:02 -08:00
convert.c Merge branch 'sp/maint-push-sideband' into maint 2010-03-02 22:54:50 -08:00
copy.c
csum-file.c
csum-file.h
ctype.c
daemon.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
date.c Merge branch 'jc/maint-reflog-bad-timestamp' 2010-01-27 14:57:37 -08:00
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c Merge branch 'jl/diff-submodule-ignore' 2010-01-26 22:53:13 -08:00
diff-no-index.c
diff.c Merge branch 'ld/maint-diff-quiet-w' into maint 2010-03-04 22:26:39 -08:00
diff.h Merge branch 'jc/fix-tree-walk' 2010-01-24 17:35:58 -08:00
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c Merge branch 'jk/maint-rmdir-fix' into maint-1.6.6 2010-03-07 14:53:50 -08:00
dir.h
editor.c
entry.c
environment.c Refactor list of of repo-local env vars 2010-02-24 16:24:25 -08:00
exec_cmd.c
exec_cmd.h
fast-import.c fast-import: use the diff_delta() max_delta_size argument 2010-02-17 11:08:44 -08:00
fetch-pack.h
fixup-builtins
fsck.c
fsck.h
generate-cmdlist.sh
git-add--interactive.perl Merge branch 'jk/maint-add--interactive-delete' into maint 2010-03-08 00:36:00 -08:00
git-am.sh Merge branch 'jn/maint-fix-pager' into maint 2010-03-04 22:27:04 -08:00
git-archimport.perl
git-bisect.sh
git-compat-util.h Merge branch 'il/maint-xmallocz' into maint 2010-02-10 13:02:16 -08:00
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl Merge branch 'gp/maint-cvsserver' 2010-01-28 00:46:33 -08:00
git-difftool--helper.sh
git-difftool.perl
git-filter-branch.sh Merge branch 'maint' 2010-02-11 23:06:32 -08:00
git-instaweb.sh fix portability issues with $ in double quotes 2010-01-26 15:16:54 -08:00
git-lost-found.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh add shebang line to git-mergetool--lib.sh 2010-01-29 09:56:51 -08:00
git-mergetool.sh
git-notes.sh
git-parse-remote.sh
git-pull.sh pull: replace unnecessary sed invocation 2010-03-20 07:25:02 -07:00
git-quiltimport.sh
git-rebase--interactive.sh work around an obnoxious bash "safety feature" on OpenBSD 2010-01-26 19:16:02 -08:00
git-rebase.sh rebase: don't invoke the pager for each commit summary 2010-01-30 08:42:42 -08:00
git-relink.perl
git-repack.sh
git-request-pull.sh
git-send-email.perl
git-sh-setup.sh Merge branch 'gb/maint-submodule-env' into maint 2010-03-08 00:36:02 -08:00
git-stash.sh stash: suggest the correct command line for unknown options. 2010-03-06 20:00:42 -08:00
git-submodule.sh submodules: ensure clean environment when operating in a submodule 2010-02-24 16:24:25 -08:00
git-svn.perl git svn: Fix launching of pager 2010-02-14 18:23:17 -08:00
git-web--browse.sh
git.c Merge branch 'maint-1.6.6' into maint 2010-02-16 15:05:02 -08:00
git.spec.in RPM packaging: use %global inside %{!?...} 2010-01-31 11:33:44 -08:00
graph.c
graph.h
grep.c Merge branch 'jc/grep-author-all-match-implicit' into maint 2010-03-08 00:35:59 -08:00
grep.h Merge branch 'jc/grep-author-all-match-implicit' into maint 2010-03-08 00:35:59 -08:00
hash.c
hash.h
help.c Remove hyphen from "git-command" in two error messages 2010-02-15 18:20:54 -08:00
help.h
hex.c
http-backend.c
http-fetch.c
http-push.c
http-walker.c
http.c
http.h
ident.c
imap-send.c Merge branch 'hm/maint-imap-send-crlf' into maint-1.6.6 2010-03-07 14:53:57 -08:00
levenshtein.c
levenshtein.h Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
list-objects.c
list-objects.h
ll-merge.c
ll-merge.h
lockfile.c
log-tree.c
log-tree.h
mailmap.c
mailmap.h
match-trees.c
merge-file.c
merge-recursive.c
merge-recursive.h
name-hash.c
notes.c
notes.h
object.c
object.h
pack-check.c
pack-refs.c
pack-refs.h
pack-revindex.c
pack-revindex.h
pack-write.c
pack.h
pager.c Make 'git var GIT_PAGER' always print the configured pager 2010-02-14 18:23:17 -08:00
parse-options.c
parse-options.h
patch-delta.c Fix integer overflow in patch_delta() 2010-01-26 12:57:59 -08:00
patch-ids.c
patch-ids.h
path.c Merge branch 'mm/mkstemps-mode-for-packfiles' into maint 2010-03-08 00:36:00 -08:00
pkt-line.c
pkt-line.h
preload-index.c Make ce_uptodate() trustworthy again 2010-01-24 00:15:29 -08:00
pretty.c
progress.c
progress.h
quote.c Fix invalid read in quote_c_style_counted 2010-02-06 10:55:03 -08:00
quote.h
reachable.c
reachable.h
read-cache.c Correct spelling of 'REUC' extension 2010-02-02 09:54:34 -08:00
reflog-walk.c
reflog-walk.h
refs.c for_each_recent_reflog_ent(): use strbuf, fix offset handling 2010-03-13 13:18:09 -08:00
refs.h
remote-curl.c Merge branch 'sp/maint-push-sideband' into maint 2010-03-02 22:54:50 -08:00
remote.c
remote.h
replace_object.c
rerere.c rerere: fix memory leak if rerere images can't be read 2010-02-23 14:24:43 -08:00
rerere.h
resolve-undo.c build: make code "-Wpointer-arith" clean 2010-02-01 22:04:03 -08:00
resolve-undo.h build: make code "-Wpointer-arith" clean 2010-02-01 22:04:03 -08:00
revision.c don't use default revision if a rev was specified 2010-03-13 21:23:43 -08:00
revision.h
run-command.c Merge branch 'mw/maint-gcc-warns-unused-write' into maint 2010-03-08 00:36:02 -08:00
run-command.h Merge branch 'sp/maint-push-sideband' into maint 2010-03-02 22:54:50 -08:00
send-pack.h
server-info.c
setup.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
sha1-lookup.c
sha1-lookup.h
sha1_file.c Merge branch 'mm/mkstemps-mode-for-packfiles' into maint 2010-03-08 00:36:00 -08:00
sha1_name.c sha1_name: fix segfault caused by invalid index access 2010-02-28 10:32:06 -08:00
shallow.c
shell.c
shortlog.h
show-index.c
sideband.c
sideband.h
sigchain.c
sigchain.h
strbuf.c
strbuf.h
string-list.c
string-list.h
submodule.c is_submodule_modified(): clear environment properly 2010-02-24 16:24:25 -08:00
submodule.h Teach diff --submodule that modified submodule directory is dirty 2010-01-24 21:04:31 -08:00
symlinks.c
tag.c
tag.h
tar.h
test-chmtime.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
test-ctype.c
test-date.c
test-delta.c
test-dump-cache-tree.c
test-genrandom.c
test-index-version.c
test-match-trees.c
test-parse-options.c
test-path-utils.c
test-run-command.c
test-sha1.c
test-sha1.sh
test-sigchain.c
thread-utils.c
thread-utils.h
trace.c
transport-helper.c Typofixes outside documentation area 2010-02-03 21:28:17 -08:00
transport.c transport: add got_remote_refs flag 2010-02-16 09:11:22 -08:00
transport.h transport: add got_remote_refs flag 2010-02-16 09:11:22 -08:00
tree-diff.c
tree-walk.c Merge branch 'maint-1.6.6' into maint 2010-02-14 18:59:14 -08:00
tree-walk.h
tree.c
tree.h
unimplemented.sh
unpack-trees.c Merge branch 'jc/fix-tree-walk' 2010-01-24 17:35:58 -08:00
unpack-trees.h Merge branch 'jc/fix-tree-walk' 2010-01-24 17:35:58 -08:00
upload-pack.c run-command: support custom fd-set in async 2010-02-05 20:57:22 -08:00
usage.c
userdiff.c
userdiff.h
utf8.c Merge branch 'rs/optim-text-wrap' into maint 2010-03-04 22:26:33 -08:00
utf8.h Merge branch 'rs/optim-text-wrap' into maint 2010-03-04 22:26:33 -08:00
walker.c
walker.h
wrap-for-bin.sh
wrapper.c Use git_mkstemp_mode and xmkstemp_mode in odb_mkstemp, not chmod later. 2010-02-22 15:24:46 -08:00
write_or_die.c
ws.c
wt-status.c
wt-status.h
xdiff-interface.c
xdiff-interface.h

README

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

	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-scm.com/
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.