1
0
mirror of https://github.com/git/git.git synced 2024-10-03 16:22:22 +02:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Wincent Colaiuta b63e995001 Add "--patch" option to git-add--interactive
When the "--patch" option is supplied, the patch_update_cmd() function is
called bypassing the main_loop() and exits.

Seeing as builtin-add is the only caller of git-add--interactive we can
impose a strict requirement on the format of the arguments to avoid
possible ambiguity: an "--" argument must be used whenever any pathspecs
are passed, both with the "--patch" option and without it.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
2007-11-25 11:37:55 -08:00
arm
compat Simplify strchrnul() compat code 2007-11-11 12:10:35 -08:00
contrib Port git commit to C. 2007-11-22 17:05:02 -08:00
Documentation Add "--patch" option to git-add--interactive 2007-11-25 11:37:55 -08:00
git-gui Merge git://repo.or.cz/git-gui 2007-11-21 00:00:56 -08:00
gitweb gitweb: Put project README in div.readme, fix its padding 2007-11-20 13:16:15 -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 Add a few more tests for git-commit 2007-11-22 23:20:59 -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 Port git commit to C. 2007-11-22 17:05:02 -08:00
.mailmap RelNotes-1.5.4: describe recent updates 2007-10-29 13:33:38 -07:00
alloc.c
archive-tar.c
archive-zip.c
archive.h
attr.c Merge branch 'maint' 2007-10-19 01:18:55 -04:00
attr.h
base85.c
blob.c
blob.h
builtin-add.c Add "--patch" option to git-add--interactive 2007-11-25 11:37:55 -08:00
builtin-annotate.c
builtin-apply.c Remove unreachable statements 2007-11-15 21:23:47 -08:00
builtin-archive.c Merge branch 'js/forkexec' 2007-11-01 13:47:47 -07:00
builtin-blame.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
builtin-branch.c Use OPT_SET_INT and OPT_BIT in builtin-branch 2007-11-11 16:54:15 -08:00
builtin-bundle.c bundle create: keep symbolic refs' names instead of resolving them 2007-11-22 15:15:25 -08:00
builtin-cat-file.c
builtin-check-attr.c Full rework of quote_c_style and write_name_quoted. 2007-09-20 23:45:49 -07:00
builtin-check-ref-format.c
builtin-checkout-index.c Full rework of quote_c_style and write_name_quoted. 2007-09-20 23:45:49 -07:00
builtin-commit-tree.c
builtin-commit.c add -i: Fix running from a subdirectory 2007-11-25 10:23:13 -08:00
builtin-config.c git-config: print error message if the config file cannot be read 2007-10-18 01:35:33 -04:00
builtin-count-objects.c Make builtin-count-objects.c use parse_options. 2007-10-29 21:03:31 -07:00
builtin-describe.c Make builtin-describe.c use parse_options 2007-10-29 21:03:31 -07:00
builtin-diff-files.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
builtin-diff-index.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
builtin-diff-tree.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
builtin-diff.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -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 Fix parent rewriting in --early-output 2007-11-14 03:59:37 -08:00
builtin-for-each-ref.c Merge branch 'ph/diffopts' 2007-11-18 15:50:16 -08:00
builtin-fsck.c Fixed a command line option type for builtin-fsck.c 2007-10-30 16:12:18 -07:00
builtin-gc.c gc: --prune prunes unreferenced objects. 2007-11-05 16:39:00 -08:00
builtin-grep.c grep -An -Bm: fix invocation of external grep command 2007-11-17 21:19:55 -08:00
builtin-http-fetch.c
builtin-init-db.c
builtin-log.c Merge branch 'lt/rev-list-interactive' 2007-11-18 16:03:24 -08:00
builtin-ls-files.c Export three helper functions from ls-files 2007-11-22 17:05:05 -08:00
builtin-ls-tree.c Full rework of quote_c_style and write_name_quoted. 2007-09-20 23:45:49 -07:00
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-merge-ours.c git-merge-ours: make it a builtin. 2007-11-22 14:21:59 -08:00
builtin-mv.c Make builtin-mv.c use parse-options 2007-10-29 21:03:31 -07:00
builtin-name-rev.c Make builtin-name-rev.c use parse_options. 2007-10-29 21:03:31 -07:00
builtin-pack-objects.c Fix rev-list when showing objects involving submodules 2007-11-14 03:44:22 -08:00
builtin-pack-refs.c Use OPT_BIT in builtin-pack-refs 2007-11-11 16:54:15 -08:00
builtin-prune-packed.c return the prune-packed progress display to the inner loop 2007-11-01 15:22:32 -07:00
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 Export rerere() and launch_editor(). 2007-09-27 01:29:56 -07:00
builtin-reset.c Merge branch 'js/reset' 2007-11-11 15:19:24 -08:00
builtin-rev-list.c Merge branch 'lt/rev-list-interactive' 2007-11-18 16:03:24 -08:00
builtin-rev-parse.c git-rev-parse --parseopt 2007-11-06 12:23:14 -08:00
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 git status: show relative paths when run in a subdirectory 2007-11-22 17:05:03 -08:00
builtin-shortlog.c
builtin-show-branch.c format-patch -s: add MIME encoding header if signer's name requires so 2007-11-01 17:18:39 -07:00
builtin-show-ref.c
builtin-stripspace.c Clean up stripspace a bit, use strbuf even more. 2007-09-27 00:33:33 -07:00
builtin-symbolic-ref.c Make builtin-symbolic-ref.c use parse_options. 2007-10-29 21:03:31 -07:00
builtin-tag.c launch_editor(): read the file, even when EDITOR=: 2007-11-22 17:05:02 -08:00
builtin-tar-tree.c
builtin-unpack-objects.c relax usage of the progress API 2007-10-30 16:08:40 -07:00
builtin-update-index.c double free in builtin-update-index.c 2007-09-29 01:40:19 -07:00
builtin-update-ref.c Make builtin-update-ref.c use parse_options 2007-10-29 21:03:31 -07:00
builtin-upload-archive.c
builtin-verify-pack.c
builtin-verify-tag.c
builtin-write-tree.c
builtin.h Port git commit to C. 2007-11-22 17:05:02 -08:00
bundle.c Merge branch 'maint' 2007-11-22 16:51:18 -08:00
bundle.h
cache-tree.c Small cache_tree_write refactor. 2007-09-26 02:27:06 -07:00
cache-tree.h Small cache_tree_write refactor. 2007-09-26 02:27:06 -07:00
cache.h Fix add_files_to_cache() to take pathspec, not user specified list of files 2007-11-22 17:05:05 -08:00
check-builtins.sh
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 Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
commit.c Merge branch 'lt/rev-list-interactive' 2007-11-18 16:03:24 -08:00
commit.h add -i: Fix running from a subdirectory 2007-11-25 10:23:13 -08:00
config.c core.excludesfile clean-up 2007-11-16 17:05:02 -08:00
config.mak.in autoconf: Add tests for memmem, strtoumax and mkdtemp functions 2007-11-20 13:16:15 -08:00
configure.ac autoconf: Add tests for memmem, strtoumax and mkdtemp functions 2007-11-20 13:16:15 -08:00
connect.c Use start_command() in git_connect() instead of explicit fork/exec. 2007-10-21 01:30:39 -04:00
convert.c Use the asyncronous function infrastructure to run the content filter. 2007-10-21 01:30:42 -04:00
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 parse_date_format(): convert a format name to an enum date_mode 2007-09-29 20:31:59 -07:00
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c Merge branch 'ph/diffopts' 2007-11-18 15:50:16 -08:00
diff.c Fix "quote" misconversion for rewrite diff output. 2007-11-21 23:06:44 -08:00
diff.h Merge branch 'ph/diffopts' 2007-11-18 15:50:16 -08:00
diffcore-break.c Fix diffcore-break total breakage 2007-10-21 01:59:42 -04:00
diffcore-delta.c optimize diffcore-delta by sorting hash entries. 2007-10-04 00:05:36 -07:00
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c Do the fuzzy rename detection limits with the exact renames removed 2007-10-26 23:18:06 -07:00
diffcore.h copy vs rename detection: avoid unnecessary O(n*m) loops 2007-10-26 23:18:06 -07:00
dir.c file_exists(): dangling symlinks do exist 2007-11-22 17:05:04 -08:00
dir.h core.excludesfile clean-up 2007-11-16 17:05:02 -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-16 17:05:02 -08:00
exec_cmd.c use only the $PATH for exec'ing git commands 2007-10-29 20:51:37 -07:00
exec_cmd.h use only the $PATH for exec'ing git commands 2007-10-29 20:51:37 -07:00
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 Add "--patch" option to git-add--interactive 2007-11-25 11:37:55 -08:00
git-am.sh git-am: -i does not take a string parameter. 2007-11-08 23:11:10 -08:00
git-archimport.perl
git-bisect.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-checkout.sh Merge branch 'ds/checkout-upper' 2007-11-18 16:04:17 -08:00
git-clean.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-clone.sh sh-setup: don't let eval output to be shell-expanded. 2007-11-08 01:49:01 -08:00
git-compat-util.h git-compat-util.h: auto-adjust to compiler support of FLEX_ARRAY a bit better 2007-11-20 15:03:56 -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 cvsserver: Use exit 1 instead of die when req_Root fails. 2007-10-18 03:02:15 -04:00
git-filter-branch.sh scripts: Add placeholders for OPTIONS_SPEC 2007-11-06 01:50:02 -08:00
git-instaweb.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-lost-found.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-ls-remote.sh honor the http.sslVerify option in shell scripts 2007-10-28 14:16:59 -07:00
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-merge-stupid.sh
git-merge.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-mergetool.sh scripts: Add placeholders for OPTIONS_SPEC 2007-11-06 01:50:02 -08:00
git-parse-remote.sh
git-pull.sh scripts: Add placeholders for OPTIONS_SPEC 2007-11-06 01:50:02 -08:00
git-quiltimport.sh git-quiltimport.sh fix --patches handling 2007-11-12 18:34:19 -08:00
git-rebase--interactive.sh rebase -i: move help to end of todo file 2007-11-22 15:35:06 -08:00
git-rebase.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-relink.perl
git-remote.perl Merge branch 'maint' 2007-10-26 23:17:23 -07:00
git-repack.sh Migrate git-repack.sh to use git-rev-parse --parseopt 2007-11-05 22:48:13 -08:00
git-request-pull.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-send-email.perl Authenticate only once in git-send-email 2007-11-22 00:50:21 -08:00
git-sh-setup.sh sh-setup: don't let eval output to be shell-expanded. 2007-11-08 01:49:01 -08:00
git-stash.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-submodule.sh Merge branch 'ph/parseopt-sh' 2007-11-17 21:39:37 -08:00
git-svn.perl git-svn: allow `info' command to work offline 2007-11-21 20:11:11 -08:00
GIT-VERSION-GEN git-gui 0.9.0 2007-11-21 02:10:03 -05:00
git.c Port git commit to C. 2007-11-22 17:05:02 -08:00
git.spec.in
gitk gitk: Use the UI font for the diff/old version/new version radio buttons 2007-10-27 21:31:07 +10:00
grep.c
grep.h
hash-object.c git-hash-object should honor config variables 2007-11-11 02:51:53 -08:00
hash.c Do linear-time/space rename logic for exact renames 2007-10-26 23:18:06 -07:00
hash.h Do linear-time/space rename logic for exact renames 2007-10-26 23:18:06 -07:00
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 builtin-commit: fix --signoff 2007-11-22 17:05:03 -08:00
imap-send.c strbuf change: be sure ->buf is never ever NULL. 2007-09-29 02:13:33 -07:00
index-pack.c Merge branch 'np/progress' 2007-11-14 14:04:19 -08:00
INSTALL Mention 'cpio' dependency in INSTALL 2007-10-02 17:35:29 -07:00
interpolate.c Merge branch 'mv/unknown' 2007-10-03 04:28:24 -07:00
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 Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
log-tree.h rev-list: implement --bisect-all 2007-10-26 23:27:23 -07:00
mailmap.c
mailmap.h
Makefile Port git commit to C. 2007-11-22 17:05:02 -08:00
match-trees.c Improved const correctness for strings 2007-10-21 01:43:27 -04:00
merge-file.c
merge-index.c
merge-recursive.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
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 new features. 2007-11-11 16:54:15 -08:00
parse-options.h parse-options new features. 2007-11-11 16:54:15 -08:00
patch-delta.c
patch-id.c
patch-ids.c Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
patch-ids.h
path-list.c
path-list.h
path.c
peek-remote.c Change git_connect() to return a struct child_process instead of a pid_t. 2007-10-21 01:30:39 -04:00
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 Flush progress message buffer in display(). 2007-11-20 13:16:15 -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 sq_quote_argv and add_to_string rework with strbuf's. 2007-09-21 03:31:18 -07:00
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 Merge branch 'db/fetch-pack' 2007-10-24 21:59:50 -07:00
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 Prevent send-pack from segfaulting (backport from 'master') 2007-10-30 16:21:56 -07:00
remote.h git-fetch: do not fail when remote branch disappears 2007-10-28 14:06:39 -07:00
revision.c Merge branch 'lt/rev-list-gitlink' 2007-11-18 16:16:37 -08:00
revision.h Fix parent rewriting in --early-output 2007-11-14 03:59:37 -08:00
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 Merge branch 'maint' 2007-10-29 12:53:54 -07:00
sha1_name.c
shallow.c
shell.c shell should call the new setup_path() to setup $PATH 2007-10-29 20:51:37 -07:00
show-index.c Use PRIuMAX instead of 'unsigned long long' in show-index 2007-10-21 02:16:57 -04:00
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 Export launch_editor() and make it accept ':' as a no-op editor. 2007-11-22 17:05:02 -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 avoid "defined but not used" warning for fetch_objs_via_walker 2007-11-20 23:11:00 -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 Make the diff_options bitfields be an unsigned with explicit masks. 2007-11-11 16:54:15 -08:00
tree-walk.c
tree-walk.h Fix rev-list when showing objects involving submodules 2007-11-14 03:44:22 -08:00
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 Merge branch 'master' into db/fetch-pack 2007-10-16 00:15:25 -04:00
walker.h
write_or_die.c
wt-status.c builtin-commit: Include the diff in the commit message when verbose. 2007-11-22 17:05:05 -08:00
wt-status.h builtin-commit: do not color status output shown in the message template 2007-11-22 17:05:04 -08:00
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.