Git with broken hash generation to generate collisions between object IDs. Don't use this! https://undefinedbehavior.de/posts/commit-vandalism/
Go to file
Johannes Schindelin c59cb03a8b git-add: introduce --edit (to edit the diff vs. the index)
With "git add -e [<files>]", Git will fire up an editor with the current
diff relative to the index (i.e. what you would get with "git diff
[<files>]").

Now you can edit the patch as much as you like, including adding/removing
lines, editing the text, whatever.  Make sure, though, that the first
character of the hunk lines is still a space, a plus or a minus.

After you closed the editor, Git will adjust the line counts of the hunks
if necessary, thanks to the --recount option of apply, and commit the
patch.  Except if you deleted everything, in which case nothing happens
(for obvious reasons).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-04-12 11:56:17 -07:00
arm
compat MinGW: Quote arguments for subprocesses that contain a single-quote 2009-03-24 14:42:59 -07:00
contrib Merge branch 'mh/html-path' 2009-04-07 22:32:51 -07:00
Documentation git-add: introduce --edit (to edit the diff vs. the index) 2009-04-12 11:56:17 -07:00
git-gui
gitk-git Merge git://git.kernel.org/pub/scm/gitk/gitk 2009-03-01 22:20:52 -08:00
gitweb gitweb: Hyperlink multiple git hashes on the same commit message line 2009-02-19 22:49:55 -08:00
mozilla-sha1
perl add --html-path to get the location of installed HTML docs 2009-04-04 23:57:59 -07:00
ppc
t git-add: introduce --edit (to edit the diff vs. the index) 2009-04-12 11:56:17 -07:00
templates Modify description file to say what this file is 2009-03-04 00:56:52 -08:00
xdiff Fix various dead stores found by the clang static analyzer 2009-03-15 18:25:24 -07:00
.gitattributes
.gitignore Revert "Merge branch 'js/notes'" 2009-02-10 21:32:10 -08:00
.mailmap .mailmap update 2008-07-19 11:25:51 -07:00
abspath.c
alias.c
alloc.c
archive-tar.c
archive-zip.c
archive.c archive: use parseopt for local-only options 2009-03-08 13:37:21 -07:00
archive.h
attr.c Read attributes from the index that is being checked out 2009-03-13 22:51:43 -07:00
attr.h Read attributes from the index that is being checked out 2009-03-13 22:51:43 -07:00
base85.c decode_85(): fix missing return. 2007-05-30 15:03:50 -07:00
blob.c
blob.h [PATCH] Anal retentive 'const unsigned char *sha1' 2005-06-08 13:04:53 -07:00
branch.c strbuf_check_branch_ref(): a helper to check a refname for a branch 2009-03-22 23:52:11 -07:00
branch.h Make git-clone respect branch.autosetuprebase 2009-03-03 22:58:52 -08:00
builtin-add.c git-add: introduce --edit (to edit the diff vs. the index) 2009-04-12 11:56:17 -07:00
builtin-annotate.c
builtin-apply.c builtin-apply: use warning() instead of fprintf(stderr, "warning: ") 2009-03-23 21:02:25 -07:00
builtin-archive.c recv_sideband: Bands #2 and #3 always go to stderr 2009-03-10 23:23:02 -07:00
builtin-blame.c Merge branch 'jc/maint-1.6.0-blame-s' into maint-1.6.1 2009-04-08 23:02:17 -07:00
builtin-branch.c Merge branch 'jc/name-branch' 2009-04-06 00:43:44 -07:00
builtin-bundle.c
builtin-cat-file.c
builtin-check-attr.c
builtin-check-ref-format.c strbuf_check_branch_ref(): a helper to check a refname for a branch 2009-03-22 23:52:11 -07:00
builtin-checkout-index.c
builtin-checkout.c Merge branch 'maint' 2009-04-07 23:05:43 -07:00
builtin-clean.c Turn the flags in struct dir_struct into a single variable 2009-02-18 11:04:19 -08:00
builtin-clone.c builtin-clone.c: no need to strdup for setenv 2009-04-01 08:58:55 -07:00
builtin-commit-tree.c
builtin-commit.c Merge branch 'maint-1.6.1' into maint 2009-04-05 01:04:54 -07:00
builtin-config.c config: test for --replace-all with one argument and fix documentation. 2009-03-17 09:30:00 -07:00
builtin-count-objects.c Merge branch 'jc/maint-1.6.0-keep-pack' into maint 2009-04-08 23:21:10 -07:00
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c diff*: fix worktree setup 2008-08-28 20:50:10 -07:00
builtin-diff-tree.c Remove unused assignments 2009-03-14 13:36:34 -07:00
builtin-diff.c
builtin-fast-export.c Merge branch 'ef/fast-export' 2009-04-01 22:49:28 -07:00
builtin-fetch--tool.c
builtin-fetch-pack.c builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ") 2009-03-23 21:02:26 -07:00
builtin-fetch.c Merge branch 'db/push-cleanup' 2009-03-26 00:28:46 -07:00
builtin-fmt-merge-msg.c Move local variables to narrower scopes 2009-03-07 20:52:23 -08:00
builtin-for-each-ref.c Remove unused assignments 2009-03-14 13:36:34 -07:00
builtin-fsck.c Merge branch 'jc/maint-1.6.0-keep-pack' into maint 2009-04-08 23:21:10 -07:00
builtin-gc.c gc --aggressive: make it really aggressive 2009-03-18 19:11:34 -07:00
builtin-grep.c grep: prefer builtin over external one when coloring results 2009-03-17 17:03:33 -07:00
builtin-help.c
builtin-http-fetch.c
builtin-init-db.c Merge branch 'jc/shared-literally' 2009-04-06 00:42:52 -07:00
builtin-log.c Merge branch 'sb/format-patch-patchname' 2009-04-06 00:42:23 -07:00
builtin-ls-files.c ls-files: require worktree when --deleted is given 2009-03-21 23:19:27 -07:00
builtin-ls-remote.c
builtin-ls-tree.c Produce a nicer output in case of sha1_object_info failures in ls-tree -l 2009-03-20 09:35:21 -07:00
builtin-mailinfo.c Remove unused assignments 2009-03-14 13:36:34 -07:00
builtin-mailsplit.c
builtin-merge-base.c parse-opt: migrate git-merge-base. 2008-10-02 18:46:02 -07:00
builtin-merge-file.c
builtin-merge-ours.c
builtin-merge-recursive.c
builtin-merge.c strbuf_branchname(): a wrapper for branch name shorthands 2009-03-22 23:44:08 -07:00
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c Update delta compression message to be less misleading 2009-04-11 22:21:59 -07:00
builtin-pack-refs.c
builtin-prune-packed.c has_sha1_pack(): refactor "pretend these packs do not exist" interface 2009-02-28 01:06:06 -08:00
builtin-prune.c
builtin-push.c Merge branch 'fg/push-default' 2009-03-26 00:26:25 -07:00
builtin-read-tree.c Turn the flags in struct dir_struct into a single variable 2009-02-18 11:04:19 -08:00
builtin-receive-pack.c improve missing repository error message 2009-03-04 20:37:21 -08:00
builtin-reflog.c Speed up reflog pruning of unreachable commits 2009-04-01 12:35:12 -07:00
builtin-remote.c Merge branch 'js/remote-improvements' 2009-03-28 00:42:22 -07:00
builtin-rerere.c rerere: remove duplicated functions 2009-02-14 21:27:35 -08:00
builtin-reset.c
builtin-rev-list.c rev-list: estimate number of bisection step left 2009-03-04 00:56:52 -08:00
builtin-rev-parse.c
builtin-revert.c Merge branch 'maint-1.6.1' into maint 2009-03-07 21:00:27 -08:00
builtin-rm.c builtin-rm: use warning() instead of fprintf(stderr, "warning: ") 2009-03-23 21:02:27 -07:00
builtin-send-pack.c builtin-send-pack.c: avoid empty structure initialization 2009-03-26 21:01:34 -07:00
builtin-shortlog.c Remove unused assignments 2009-03-14 13:36:34 -07:00
builtin-show-branch.c builtin-show-branch: use warning() instead of fprintf(stderr, "warning: ") 2009-03-23 21:02:27 -07:00
builtin-show-ref.c builtin-show-ref: use warning() instead of fprintf(stderr, "warning: ") 2009-03-23 21:02:27 -07:00
builtin-stripspace.c
builtin-symbolic-ref.c symbolic-ref: allow refs/<whatever> in HEAD 2009-02-13 18:20:44 -08:00
builtin-tag.c
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c Merge branch 'kb/checkout-optim' 2009-03-17 18:54:31 -07:00
builtin-update-ref.c
builtin-upload-archive.c improve missing repository error message 2009-03-04 20:37:21 -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 'jc/shared-literally' into maint 2009-04-08 23:23:41 -07:00
check_bindir
check-builtins.sh
check-racy.c
color.c Clean up use of ANSI color sequences 2009-02-13 17:27:58 -08:00
color.h Clean up use of ANSI color sequences 2009-02-13 17:27:58 -08:00
combine-diff.c Merge branch 'kb/checkout-optim' 2009-03-17 18:54:31 -07:00
command-list.txt Revert "Merge branch 'js/notes'" 2009-02-10 21:32:10 -08:00
commit.c Revert "Merge branch 'js/notes'" 2009-02-10 21:32:10 -08:00
commit.h
config.c Merge branch 'fg/push-default' 2009-03-26 00:26:25 -07:00
config.mak.in
configure.ac configure: rework pthread handling to allow for user defined flags 2009-03-12 23:23:39 -07:00
connect.c Remove unused assignments 2009-03-14 13:36:34 -07:00
convert.c
copy.c
COPYING
csum-file.c
csum-file.h
ctype.c
daemon.c improve missing repository error message 2009-03-04 20:37:21 -08:00
date.c never fallback relative times to absolute 2009-02-25 00:44:43 -08:00
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c Merge branch 'kb/checkout-optim' 2009-03-17 18:54:31 -07:00
diff-no-index.c Merge branch 'maint' 2009-03-28 01:16:46 -07:00
diff.c Allow users to un-configure rename detection 2009-04-11 22:22:00 -07:00
diff.h Use DIFF_XDL_SET/DIFF_OPT_SET instead of raw bit-masking 2009-03-04 00:56:51 -08:00
diffcore-break.c Remove unused function scope local variables 2009-03-07 20:52:17 -08:00
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c pickaxe: count regex matches only once 2009-03-21 23:18:53 -07:00
diffcore-rename.c
diffcore.h
dir.c Merge branch 'mv/parseopt-ls-files' 2009-03-20 14:30:51 -07:00
dir.h Turn the flags in struct dir_struct into a single variable 2009-02-18 11:04:19 -08:00
editor.c
entry.c write_entry(): use fstat() instead of lstat() when file is open 2009-02-09 20:59:26 -08:00
environment.c New config push.default to decide default behavior for push 2009-03-17 14:50:21 -07:00
exec_cmd.c Merge branch 'js/maint-1.6.0-exec-path-env' into maint-1.6.1 2009-04-08 23:01:10 -07:00
exec_cmd.h
fast-import.c Merge branch 'jc/shared-literally' 2009-04-06 00:42:52 -07:00
fetch-pack.h
fixup-builtins
fsck.c Remove unused function scope local variables 2009-03-07 20:52:17 -08:00
fsck.h
generate-cmdlist.sh
git-add--interactive.perl Merge branch 'jc/add-p-unquote' 2009-03-05 15:41:41 -08:00
git-am.sh git-am: make --abort less dangerous 2009-02-26 23:06:38 -08:00
git-archimport.perl
git-bisect.sh bisect: improve error message when branch checkout fails 2009-04-05 00:25:08 -07:00
git-compat-util.h Merge branch 'jc/maint-1.6.0-pack-directory' into maint-1.6.1 2009-03-21 22:53:36 -07:00
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-filter-branch.sh git-filter-branch: avoid collisions with variables in eval'ed commands 2009-03-25 16:35:52 -07:00
git-instaweb.sh git-instaweb: fix lighttpd configuration on cygwin 2009-03-10 23:16:52 -07:00
git-lost-found.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool.sh
git-parse-remote.sh
git-pull.sh Merge branch 'maint' 2009-04-08 23:47:23 -07:00
git-quiltimport.sh git-quiltimport: preserve standard input to be able to read user input 2009-02-25 00:49:13 -08:00
git-rebase--interactive.sh rebase -i: avoid 'git reset' when possible 2009-03-03 10:56:22 -08:00
git-rebase.sh rebase: fix typo (force_rebas -> force-rebas) 2009-03-27 14:26:34 -07:00
git-relink.perl
git-repack.sh Merge branch 'jc/maint-1.6.0-keep-pack' into maint 2009-04-08 23:21:10 -07:00
git-request-pull.sh
git-send-email.perl send-email: fix nasty bug in ask() function 2009-04-04 22:53:32 -07:00
git-sh-setup.sh
git-stash.sh Revert "git-stash: use git rev-parse -q" 2008-12-07 17:30:35 -08:00
git-submodule.sh git submodule: fix usage line 2009-04-05 01:16:31 -07:00
git-svn.perl git-svn: always initialize with core.autocrlf=false 2009-04-11 22:21:59 -07:00
GIT-VERSION-GEN GIT 1.6.2.2 2009-04-02 12:34:16 -07:00
git-web--browse.sh git-web--browse: Fix check for /bin/start 2009-02-09 00:06:36 -08:00
git.c add --html-path to get the location of installed HTML docs 2009-04-04 23:57:59 -07:00
git.spec.in
graph.c
graph.h
grep.c git log: avoid segfault with --all-match 2009-03-18 19:10:40 -07:00
grep.h grep: add support for coloring with external greps 2009-03-07 11:34:59 -08:00
hash-object.c Merge branch 'en/maint-hash-object' into maint 2009-03-11 13:51:59 -07:00
hash.c
hash.h
help.c
help.h
http-push.c Replace ",<,>,& with their respective XML entities in DAV requests 2009-04-11 22:21:59 -07:00
http-walker.c Move chmod(foo, 0444) into move_temp_to_file() 2009-03-27 22:10:58 -07:00
http.c Allow curl to rewind the read buffers 2009-04-02 13:04:07 -07:00
http.h Allow curl to rewind the read buffers 2009-04-02 13:04:07 -07:00
ident.c
imap-send.c Remove unused assignments 2009-03-14 13:36:34 -07:00
index-pack.c Merge branch 'jc/shared-literally' 2009-04-06 00:42:52 -07:00
INSTALL
levenshtein.c
levenshtein.h
list-objects.c process_{tree,blob}: Remove useless xstrdup calls 2009-04-08 22:58:43 -07:00
list-objects.h
ll-merge.c
ll-merge.h
lockfile.c Make the 'lock file' exists error more informative 2009-03-04 20:35:19 -08:00
log-tree.c log-tree: fix patch filename computation in "git format-patch" 2009-03-27 01:10:27 -07:00
log-tree.h format-patch: --attach/inline uses filename instead of SHA1 2009-03-22 21:45:19 -07:00
mailmap.c Merge branch 'maint' 2009-04-01 22:46:31 -07:00
mailmap.h Add map_user() and clear_mailmap() to mailmap 2009-02-08 12:36:38 -08:00
Makefile add --html-path to get the location of installed HTML docs 2009-04-04 23:57:59 -07:00
match-trees.c
merge-file.c
merge-index.c
merge-recursive.c Merge branch 'cb/maint-merge-recursive-submodule-fix' 2009-04-07 22:32:56 -07:00
merge-recursive.h
merge-tree.c
mktag.c
mktree.c
name-hash.c
object.c
object.h
pack-check.c
pack-redundant.c Add calls to git_extract_argv0_path() in programs that call git_config_* 2009-01-26 00:26:05 -08:00
pack-refs.c
pack-refs.h
pack-revindex.c
pack-revindex.h
pack-write.c Merge branch 'jc/maint-1.6.0-pack-directory' into maint-1.6.1 2009-03-21 22:53:36 -07:00
pack.h
pager.c
parse-options.c parseopt: prevent KEEP_UNKNOWN and STOP_AT_NON_OPTION from being used together 2009-03-09 15:32:50 -07:00
parse-options.h parseopt: add PARSE_OPT_NO_INTERNAL_HELP 2009-03-08 13:36:27 -07:00
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path.c set_shared_perm(): sometimes we know what the final mode bits should look like 2009-03-28 08:02:15 -07:00
pkt-line.c
pkt-line.h
preload-index.c
pretty.c format_sanitized_subject: Don't trim past initial length of strbuf 2009-04-01 11:05:31 -07:00
progress.c
progress.h
quote.c
quote.h
reachable.c process_{tree,blob}: Remove useless xstrdup calls 2009-04-08 22:58:43 -07:00
reachable.h
read-cache.c checkout bugfix: use stat.mtime instead of stat.ctime in two places 2009-03-15 12:56:40 -07:00
README README: fix path to "gitcvs-migration.txt" and be more consistent 2009-02-25 00:49:54 -08:00
reflog-walk.c make oneline reflog dates more consistent with multiline format 2009-03-20 00:57:27 -07:00
reflog-walk.h make oneline reflog dates more consistent with multiline format 2009-03-20 00:57:27 -07:00
refs.c Merge branch 'jc/name-branch' 2009-04-06 00:43:44 -07:00
refs.h Use a common function to get the pretty name of refs 2009-03-09 15:41:16 -07:00
RelNotes Start 1.6.2.3 preparation 2009-04-08 23:40:33 -07:00
remote.c Merge branch 'mg/tracked-local-branches' 2009-04-06 00:42:31 -07:00
remote.h remote: let guess_remote_head() optionally return all matches 2009-02-27 15:08:17 -08:00
rerere.c rerere: remove duplicated functions 2009-02-14 21:27:35 -08:00
rerere.h rerere: remove duplicated functions 2009-02-14 21:27:35 -08:00
revision.c Merge branch 'jc/maint-1.6.0-keep-pack' into maint 2009-04-08 23:21:10 -07:00
revision.h Merge branch 'jc/maint-1.6.0-keep-pack' into maint 2009-04-08 23:21:10 -07:00
run-command.c
run-command.h fix portability problem with IS_RUN_COMMAND_ERR 2009-04-01 11:05:54 -07:00
send-pack.h Move push matching and reporting logic into transport.c 2009-03-09 15:41:20 -07:00
server-info.c
setup.c "core.sharedrepository = 0mode" should set, not loosen 2009-03-27 21:51:04 -07:00
sha1_file.c Merge branch 'jc/shared-literally' into maint 2009-04-08 23:23:41 -07:00
sha1_name.c Rename interpret/substitute nth_last_branch functions 2009-03-22 23:36:47 -07:00
sha1-lookup.c
sha1-lookup.h
shallow.c
shell.c
shortlog.h
show-index.c
sideband.c recv_sideband: Bands #2 and #3 always go to stderr 2009-03-10 23:23:02 -07:00
sideband.h recv_sideband: Bands #2 and #3 always go to stderr 2009-03-10 23:23:02 -07:00
sigchain.c refactor signal handling for cleanup functions 2009-01-21 22:46:53 -08:00
sigchain.h
strbuf.c strbuf_check_branch_ref(): a helper to check a refname for a branch 2009-03-22 23:52:11 -07:00
strbuf.h strbuf_check_branch_ref(): a helper to check a refname for a branch 2009-03-22 23:52:11 -07:00
string-list.c string-list: new for_each_string_list() function 2009-02-27 15:19:08 -08:00
string-list.h string-list: new for_each_string_list() function 2009-02-27 15:19:08 -08:00
symlinks.c Revert "lstat_cache(): print a warning if doing ping-pong between cache types" 2009-03-17 12:10:58 -07:00
tag.c
tag.h
tar.h
test-chmtime.c
test-ctype.c
test-date.c
test-delta.c
test-dump-cache-tree.c
test-genrandom.c simple random data generator for tests 2007-04-11 19:23:32 -07:00
test-match-trees.c
test-parse-options.c
test-path-utils.c Introduce the function strip_path_suffix() 2009-02-19 22:45:48 -08:00
test-sha1.c
test-sha1.sh
test-sigchain.c
thread-utils.c
thread-utils.h
trace.c trace: Fixed a minor typo in an error message. 2009-02-25 00:49:53 -08:00
transport.c Merge branch 'db/push-cleanup' 2009-03-26 00:28:46 -07:00
transport.h Move push matching and reporting logic into transport.c 2009-03-09 15:41:20 -07:00
tree-diff.c tree_entry_interesting: a pathspec only matches at directory boundary 2009-04-01 19:35:16 -07:00
tree-walk.c
tree-walk.h
tree.c Merge branch 'bs/maint-1.6.0-tree-walk-prefix' 2009-04-07 22:33:10 -07:00
tree.h
unpack-file.c
unpack-trees.c Merge branch 'jc/attributes-checkout' 2009-03-26 00:27:33 -07:00
unpack-trees.h
update-server-info.c
upload-pack.c Move local variables to narrower scopes 2009-03-07 20:52:23 -08:00
usage.c Increase the size of the die/warning buffer to avoid truncation 2009-03-24 16:58:20 -07:00
userdiff.c
userdiff.h
utf8.c
utf8.h
var.c
walker.c Drop double-semicolon in C 2009-02-10 22:26:37 -08:00
walker.h
wrapper.c Merge branch 'jc/maint-1.6.0-pack-directory' into maint-1.6.1 2009-03-21 22:53:36 -07:00
write_or_die.c
ws.c
wt-status.c Merge branch 'mv/parseopt-ls-files' 2009-03-20 14:30:51 -07:00
wt-status.h
xdiff-interface.c Remove unused function scope local variables 2009-03-07 20:52:17 -08:00
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.