1
0
mirror of https://github.com/git/git.git synced 2024-09-25 20:22:43 +02:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Johannes Schindelin e663674722 Add functions get_relative_cwd() and is_inside_dir()
The function get_relative_cwd() works just as getcwd(), only that it
takes an absolute path as additional parameter, returning the prefix
of the current working directory relative to the given path.  If the
cwd is no subdirectory of the given path, it returns NULL.

is_inside_dir() is just a trivial wrapper over get_relative_cwd().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-08-01 00:38:30 -07:00
arm
compat
contrib git.el: Take into account the core.excludesfile config option. 2007-07-31 23:05:43 -07:00
Documentation --base-path-relaxed option 2007-08-01 00:37:23 -07:00
git-gui Merge branch 'master' of git://repo.or.cz/git-gui 2007-07-29 22:53:33 -07:00
gitweb gitweb: Allow for multivalued parameters passed to href subroutine 2007-07-28 18:54:56 -07:00
mozilla-sha1
perl
ppc
t Add is_absolute_path() and make_absolute_path() 2007-08-01 00:38:30 -07:00
templates Use $(RM) in Makefiles instead of 'rm -f' 2007-07-14 23:31:01 -07:00
xdiff
.gitignore
.mailmap Update .mailmap 2007-07-14 13:44:58 -07:00
alloc.c
archive-tar.c
archive-zip.c
archive.h
attr.c
attr.h
base85.c
blob.c
blob.h
builtin-add.c Don't rely on unspecified behavior 2007-07-28 18:50:36 -07:00
builtin-annotate.c
builtin-apply.c
builtin-archive.c
builtin-blame.c
builtin-branch.c
builtin-bundle.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-cat-file.c
builtin-check-attr.c
builtin-check-ref-format.c
builtin-checkout-index.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-commit-tree.c
builtin-config.c Add an option to specify a file to config builtin 2007-07-31 22:56:15 -07:00
builtin-count-objects.c
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c git-diff: turn on recursion by default 2007-07-29 13:24:42 -07:00
builtin-fetch--tool.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-fmt-merge-msg.c
builtin-for-each-ref.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-fsck.c fsck --lost-found: write blob's contents, not their SHA-1 2007-07-22 15:59:27 -07:00
builtin-gc.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-grep.c
builtin-init-db.c
builtin-log.c
builtin-ls-files.c
builtin-ls-tree.c
builtin-mailinfo.c rebase: try not to munge commit log message 2007-07-29 23:29:04 -07:00
builtin-mailsplit.c
builtin-merge-base.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-merge-file.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c
builtin-pack-refs.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-prune-packed.c
builtin-prune.c
builtin-push.c
builtin-read-tree.c
builtin-reflog.c
builtin-rerere.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-rev-list.c Merge branch 'maint' 2007-07-31 21:12:32 -07:00
builtin-rev-parse.c
builtin-revert.c
builtin-rm.c More permissive "git-rm --cached" behavior without -f. 2007-07-13 23:52:46 -07:00
builtin-runstatus.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-shortlog.c
builtin-show-branch.c
builtin-show-ref.c Make every builtin-*.c file #include "builtin.h" 2007-07-14 22:44:09 -07:00
builtin-stripspace.c Rename read_pipe() with read_fd() and make its buffer nul-terminated. 2007-07-18 17:30:03 -07:00
builtin-symbolic-ref.c symbolic-ref, update-ref: do not refuse reflog message with LF 2007-07-29 23:28:55 -07:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c symbolic-ref, update-ref: do not refuse reflog message with LF 2007-07-29 23:28:55 -07:00
builtin-upload-archive.c
builtin-verify-pack.c
builtin-write-tree.c git-write-tree should not crash if prefix does not exist 2007-07-25 21:35:17 -07:00
builtin.h
cache-tree.c
cache-tree.h
cache.h Add is_absolute_path() and make_absolute_path() 2007-08-01 00:38:30 -07:00
check-builtins.sh
check-racy.c
color.c
color.h
combine-diff.c
commit.c Avoid to duplicate commit message when is not encoded 2007-07-22 01:40:21 -07:00
commit.h
config.c use lockfile.c routines in git_commit_set_multivar() 2007-07-27 00:02:05 -07:00
config.mak.in
configure.ac make the name of the library directory a config option 2007-07-31 22:36:55 -07:00
connect.c
convert-objects.c
convert.c
copy.c
COPYING
csum-file.c
csum-file.h
ctype.c
daemon.c --base-path-relaxed option 2007-08-01 00:37:23 -07:00
date.c Teach approxidate() to understand "never" 2007-07-24 17:28:10 -07:00
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c
diff.c git_mkstemp(): be careful not to overflow the path buffer. 2007-07-25 21:34:53 -07:00
diff.h
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c Add functions get_relative_cwd() and is_inside_dir() 2007-08-01 00:38:30 -07:00
dir.h Add functions get_relative_cwd() and is_inside_dir() 2007-08-01 00:38:30 -07:00
dump-cache-tree.c
entry.c Merge branch 'maint' 2007-07-18 17:00:36 -07:00
environment.c
exec_cmd.c
exec_cmd.h
fast-import.c Teach fast-import to recursively copy files/directories 2007-07-15 01:41:23 -04:00
fetch-pack.c
fetch.c
fetch.h
fixup-builtins
generate-cmdlist.sh
git-add--interactive.perl
git-am.sh git am: skip pine's internal folder data 2007-07-24 20:48:04 -07:00
git-archimport.perl
git-bisect.sh
git-checkout.sh
git-clean.sh
git-clone.sh
git-commit.sh Teach git-commit about commit message templates. 2007-07-24 20:46:54 -07:00
git-compat-util.h
git-cvsexportcommit.perl cvsexportcommit: avoid racy CVS problem. 2007-07-24 17:28:10 -07:00
git-cvsimport.perl
git-cvsserver.perl git-cvsserver: detect/diagnose write failure, etc. 2007-07-14 23:33:22 -07:00
git-fetch.sh
git-filter-branch.sh filter-branch: fix dash complaining about "Missing '))'" 2007-07-24 17:28:10 -07:00
git-instaweb.sh
git-lost-found.sh
git-ls-remote.sh Remove useless uses of cat, and replace with filename arguments 2007-07-14 01:07:44 -07:00
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-ours.sh
git-merge-resolve.sh
git-merge-stupid.sh
git-merge.sh
git-mergetool.sh
git-parse-remote.sh
git-pull.sh
git-quiltimport.sh Remove useless uses of cat, and replace with filename arguments 2007-07-14 01:07:44 -07:00
git-rebase--interactive.sh Rename git-rebase interactive buffer: todo => git-rebase-todo 2007-07-28 18:55:04 -07:00
git-rebase.sh
git-relink.perl
git-remote.perl
git-repack.sh
git-request-pull.sh
git-reset.sh
git-send-email.perl send-email: Update regex parsing for pine aliases 2007-07-24 17:28:10 -07:00
git-sh-setup.sh Add GIT_EDITOR environment and core.editor configuration variables 2007-07-20 00:46:34 -07:00
git-stash.sh git-stash apply --index: optimize postprocessing 2007-07-28 00:06:00 -07:00
git-submodule.sh git-submodule: remove redundant call to git-describe 2007-07-25 16:13:55 -07:00
git-svn.perl git-svn: Translate invalid characters in refname 2007-07-30 17:49:50 -07:00
git-svnimport.perl
git-tag.sh Add GIT_EDITOR environment and core.editor configuration variables 2007-07-20 00:46:34 -07:00
git-verify-tag.sh
GIT-VERSION-GEN
git.c git.c: execution path 2007-07-31 02:06:14 -07:00
git.spec.in Remove p4 rpm from git.spec.in. 2007-07-15 15:23:36 -07:00
gitk gitk: Fix bugs in the Find function 2007-07-26 22:36:39 +10:00
grep.c
grep.h
hash-object.c
help.c
http-fetch.c
http-push.c
http.c
http.h
ident.c
imap-send.c
index-pack.c
INSTALL Update INSTALL 2007-07-17 01:33:04 -07:00
interpolate.c
interpolate.h
list-objects.c
list-objects.h
local-fetch.c
lockfile.c fully resolve symlinks when creating lockfiles 2007-07-27 00:02:05 -07:00
log-tree.c
log-tree.h
mailmap.c
mailmap.h
Makefile Add is_absolute_path() and make_absolute_path() 2007-08-01 00:38:30 -07:00
match-trees.c
merge-file.c
merge-index.c
merge-recursive.c
merge-tree.c
mktag.c Rename read_pipe() with read_fd() and make its buffer nul-terminated. 2007-07-18 17:30:03 -07:00
mktree.c
object-refs.c
object.c
object.h
pack-check.c
pack-redundant.c
pack-write.c
pack.h
pager.c
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path-list.c
path-list.h
path.c Add is_absolute_path() and make_absolute_path() 2007-08-01 00:38:30 -07:00
peek-remote.c
pkt-line.c
pkt-line.h
progress.c
progress.h
quote.c
quote.h
reachable.c
reachable.h
read-cache.c add_file_to_index: skip rehashing if the cached stat already matches 2007-07-30 17:49:50 -07:00
README
receive-pack.c
reflog-walk.c git log -g: Complain, but do not fail, when no reflogs are there 2007-07-24 17:28:10 -07:00
reflog-walk.h git log -g: Complain, but do not fail, when no reflogs are there 2007-07-24 17:28:10 -07:00
refs.c log_ref_write() -- do not chomp reflog message at the first LF 2007-07-29 23:28:55 -07:00
refs.h
RelNotes
remote.c
remote.h
revision.c git log -g: Complain, but do not fail, when no reflogs are there 2007-07-24 17:28:10 -07:00
revision.h
rsh.c
rsh.h
run-command.c
run-command.h
send-pack.c
server-info.c
setup.c white space fixes in setup.c 2007-07-30 12:24:54 -07:00
sha1_file.c Rename read_pipe() with read_fd() and make its buffer nul-terminated. 2007-07-18 17:30:03 -07:00
sha1_name.c
shallow.c
shell.c
show-index.c
sideband.c
sideband.h
ssh-fetch.c
ssh-pull.c
ssh-push.c
ssh-upload.c
strbuf.c
strbuf.h
symlinks.c
tag.c
tag.h
tar.h
test-absolute-path.c Add is_absolute_path() and make_absolute_path() 2007-08-01 00:38:30 -07:00
test-chmtime.c
test-date.c
test-delta.c
test-genrandom.c
test-match-trees.c
test-sha1.c
test-sha1.sh
trace.c
tree-diff.c
tree-walk.c
tree-walk.h
tree.c
tree.h
unpack-file.c
unpack-trees.c cleanup unpack-trees.c: shrink struct tree_entry_list 2007-07-24 17:28:10 -07:00
unpack-trees.h
update-server-info.c
upload-pack.c
usage.c
utf8.c
utf8.h
var.c
write_or_die.c
wt-status.c
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.