1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-15 13:43:45 +01:00
Find a file
Björn Steinbrink 34cb704a9b git-commit.sh: Fix usage checks regarding paths given when they do not make sense
The checks that looked for paths given to git-commit in addition to
--all or --interactive expected only 3 values, while the case statement
actually provides 4, so the check was never triggered.

The bug was introduced in 6cbf07efc5 when
the case statement was extended to handle --interactive.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-11-05 21:36:31 -08:00
arm
compat Remove a couple of duplicated include 2007-11-05 20:50:38 -08:00
contrib fixing output of non-fast-forward output of post-receive-email 2007-10-18 00:59:25 -04:00
Documentation Merge branch 'gp/maint-diffdoc' into maint 2007-11-05 18:56:55 -08:00
git-gui Merge branch 'maint' of git://repo.or.cz/git-gui into maint 2007-10-20 23:19:22 -04:00
gitweb gitweb: Update config file example for snapshot feature in gitweb/INSTALL 2007-11-01 15:14:16 -07:00
mozilla-sha1
perl Install man3 manpages to $PREFIX/share/man/man3 even for site installs 2007-08-23 01:02:49 -07:00
ppc
t git-svn: t9114: verify merge commit message in test 2007-11-05 12:58:39 -08:00
templates hooks--update: Explicitly check for all zeros for a deleted ref. 2007-09-13 22:33:11 -07:00
xdiff
.gitignore add "test-absolute-path" to .gitignore 2007-08-04 01:57:29 -07:00
.mailmap
alloc.c
archive-tar.c
archive-zip.c
archive.h
attr.c attr: fix segfault in gitattributes parsing code 2007-10-18 21:11:27 -04:00
attr.h
base85.c
blob.c
blob.h
builtin-add.c Fix a small memory leak in builtin-add 2007-10-29 11:39:07 -07:00
builtin-annotate.c
builtin-apply.c apply: get rid of --index-info in favor of --build-fake-ancestor 2007-09-26 13:42:10 -07:00
builtin-archive.c
builtin-blame.c Delay pager setup in git blame 2007-11-03 21:31:37 -07:00
builtin-branch.c
builtin-bundle.c builtin-bundle create - use lock_file 2007-08-13 13:04:18 -07:00
builtin-cat-file.c
builtin-check-attr.c Add read_cache to builtin-check-attr 2007-08-14 22:46:01 -07:00
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-commit-tree.c
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
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c git-diff: resurrect the traditional empty "diff --git" behaviour 2007-08-31 23:30:14 -07:00
builtin-fetch--tool.c Avoid scary errors about tagged trees/blobs during git-fetch 2007-10-18 20:37:52 -04:00
builtin-fmt-merge-msg.c
builtin-for-each-ref.c for-each-ref: fix %(numparent) and %(parent) 2007-10-02 15:12:05 -07:00
builtin-fsck.c
builtin-gc.c
builtin-grep.c grep with unmerged index 2007-11-05 18:57:58 -08:00
builtin-init-db.c git-init: autodetect core.symlinks 2007-08-31 00:25:04 -07:00
builtin-log.c git-format-patch --in-reply-to: accept <message@id> with angle brackets 2007-09-14 00:49:12 -07:00
builtin-ls-files.c Must not modify the_index.cache as it may be passed to realloc at some point. 2007-10-02 23:18:58 -07:00
builtin-ls-tree.c
builtin-mailinfo.c Temporary fix for stack smashing in mailinfo 2007-08-30 18:46:37 -07:00
builtin-mailsplit.c
builtin-merge-base.c
builtin-merge-file.c
builtin-mv.c
builtin-name-rev.c name-rev: Fix non-shortest description 2007-08-27 22:36:43 -07:00
builtin-pack-objects.c fix same sized delta logic 2007-08-30 19:18:31 -07:00
builtin-pack-refs.c
builtin-prune-packed.c
builtin-prune.c
builtin-push.c Make --no-thin the default in git-push to save server resources 2007-09-10 00:00:26 -07:00
builtin-read-tree.c Clean-up read-tree error condition. 2007-08-16 21:19:06 -07:00
builtin-reflog.c
builtin-rerere.c
builtin-rev-list.c Merge branch 'maint' 2007-07-31 21:12:32 -07:00
builtin-rev-parse.c Clean up work-tree handling 2007-08-01 00:38:31 -07:00
builtin-revert.c cherry-pick/revert: more compact user direction message 2007-10-30 16:49:27 -07:00
builtin-rm.c
builtin-runstatus.c
builtin-shortlog.c
builtin-show-branch.c
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c symbolic-ref, update-ref: do not refuse reflog message with LF 2007-07-29 23:28:55 -07:00
builtin-tag.c git-tag -s must fail if gpg cannot sign the tag. 2007-09-09 21:30:54 -07:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c Fix "git commit directory/" performance anomaly 2007-08-10 13:57:43 -07:00
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-verify-tag.c
builtin-write-tree.c Fix racy-git handling in git-write-tree. 2007-08-24 18:53:02 -07:00
builtin.h
cache-tree.c
cache-tree.h
cache.h Move make_cache_entry() from merge-recursive.c into read-cache.c 2007-09-26 13:42:10 -07:00
check-builtins.sh
check-racy.c
color.c
color.h
combine-diff.c
commit.c clear_commit_marks(): avoid deep recursion 2007-10-15 21:05:22 -04:00
commit.h
config.c Merge branch 'cr/tag' 2007-08-10 23:17:46 -07:00
config.mak.in
configure.ac the ar tool is called gar on some systems 2007-10-02 21:10:25 -07:00
connect.c URL: allow port specification in ssh:// URLs 2007-09-01 03:35:29 -07:00
convert-objects.c
convert.c
copy.c
COPYING
csum-file.c
csum-file.h
ctype.c
daemon.c git-daemon: fix remote port number in log entry 2007-11-05 18:39:18 -08:00
date.c
decorate.c
decorate.h
delta.h
diff-delta.c diff-delta.c: Fix broken skip calculation. 2007-08-23 00:04:10 -07:00
diff-lib.c diff --no-index: do not forget to run diff_setup_done() 2007-09-14 12:12:32 -07:00
diff.c rename diff_free_filespec_data_large() to diff_free_filespec_blob() 2007-10-02 21:02:09 -07:00
diff.h diff: squelch empty diffs even more 2007-08-14 22:34:58 -07:00
diffcore-break.c Fix diffcore-break total breakage 2007-10-21 01:59:42 -04:00
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c rename diff_free_filespec_data_large() to diff_free_filespec_blob() 2007-10-02 21:02:09 -07:00
diffcore.h rename diff_free_filespec_data_large() to diff_free_filespec_blob() 2007-10-02 21:02:09 -07:00
dir.c Fix directory scanner to correctly ignore files without d_type 2007-10-21 01:44:40 -04: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 attr.c: read .gitattributes from index as well. 2007-08-14 23:19:10 -07:00
environment.c Merge branch 'cr/tag' 2007-08-10 23:17:46 -07:00
exec_cmd.c
exec_cmd.h
fast-import.c fast-import: Fix argument order to die in file_change_m 2007-10-20 21:43:35 -04:00
fetch-pack.c
fetch.c
fetch.h
fixup-builtins
generate-cmdlist.sh
git-add--interactive.perl git add -i: Remove unused variables 2007-10-15 21:00:40 -04:00
git-am.sh apply: get rid of --index-info in favor of --build-fake-ancestor 2007-09-26 13:42:10 -07:00
git-archimport.perl Make git-archimport log entries more consistent 2007-08-30 19:22:02 -07:00
git-bisect.sh
git-checkout.sh
git-clean.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-clone.sh honor the http.sslVerify option in shell scripts 2007-10-28 14:16:59 -07:00
git-commit.sh git-commit.sh: Fix usage checks regarding paths given when they do not make sense 2007-11-05 21:36:31 -08:00
git-compat-util.h Introduces xmkstemp() 2007-08-14 22:20:23 -07:00
git-cvsexportcommit.perl cvsexportcommit: fix for commits that do not have parents 2007-10-31 23:51:13 -07:00
git-cvsimport.perl git-cvsimport: really convert underscores in branch names to dots with -u 2007-11-03 21:31:22 -07:00
git-cvsserver.perl cvsserver: Use exit 1 instead of die when req_Root fails. 2007-10-18 03:02:15 -04:00
git-fetch.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-filter-branch.sh filter-branch: update current branch when rewritten 2007-10-16 22:47:51 -04:00
git-instaweb.sh Avoid 'expr index' on Mac OS X as it isn't supported 2007-10-16 22:48:03 -04:00
git-lost-found.sh
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-ours.sh
git-merge-resolve.sh Fixing comment in merge strategies 2007-08-30 17:18:22 -07:00
git-merge-stupid.sh Fixing comment in merge strategies 2007-08-30 17:18:22 -07:00
git-merge.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-mergetool.sh mergetool: Fix typo in options passed to kdiff3 2007-09-28 22:26:05 -04:00
git-parse-remote.sh
git-pull.sh Make git-pull complain and give advice when there is nothing to merge with 2007-10-02 17:27:48 -07:00
git-quiltimport.sh quiltimport: Skip non-existent patches 2007-09-27 16:19:19 -07:00
git-rebase--interactive.sh git-rebase--interactive.sh: Make 3-way merge strategies work for -p. 2007-10-30 21:29:28 -07:00
git-rebase.sh Fixing path quoting in git-rebase 2007-11-02 16:15:08 -07:00
git-relink.perl
git-remote.perl git-remote: fix "Use of uninitialized value in string ne" 2007-10-24 18:47:50 -07:00
git-repack.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-request-pull.sh
git-reset.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-send-email.perl send-email: make message-id generation a bit more robust 2007-09-17 22:02:19 -07:00
git-sh-setup.sh git-sh-setup: typofix in comments 2007-09-15 16:33:22 -07:00
git-stash.sh Paper bag fix diff invocation in 'git stash show' 2007-10-19 02:18:14 -04:00
git-submodule.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-svn.perl git-svn: fix dcommit clobbering when committing a series of diffs 2007-11-05 12:57:34 -08:00
git-svnimport.perl git-svnimport: Use separate arguments in the pipe for git-rev-parse 2007-09-18 14:00:20 -07:00
GIT-VERSION-GEN GIT 1.5.3.5 2007-10-31 12:20:05 -07:00
git.c git --bare cmd: do not unconditionally nuke GIT_DIR 2007-08-27 22:44:41 -07:00
git.spec.in GIT 1.5.3.1: obsolete git-p4 in RPM spec file. 2007-09-03 01:28:37 -07:00
gitk gitk: Fix bug causing undefined variable error when cherry-picking 2007-08-29 22:41:34 +10:00
grep.c
grep.h
hash-object.c
help.c
http-fetch.c
http-push.c
http.c
http.h
ident.c Improved hint on how to set identity 2007-08-13 23:34:38 -07:00
imap-send.c
index-pack.c Use xmkstemp() instead of mkstemp() 2007-08-14 22:20:26 -07:00
INSTALL Mention 'cpio' dependency in INSTALL 2007-10-02 17:35:29 -07:00
interpolate.c
interpolate.h
list-objects.c
list-objects.h
local-fetch.c
lockfile.c
log-tree.c Clean up "git log" format with DIFF_FORMAT_NO_OUTPUT 2007-10-15 20:24:27 -04:00
log-tree.h
mailmap.c
mailmap.h
Makefile Fix generation of perl/perl.mak 2007-10-26 16:44:45 -07:00
match-trees.c
merge-file.c
merge-index.c
merge-recursive.c Make merge-recursive honor diff.renamelimit 2007-10-30 17:27:40 -07:00
merge-tree.c
mktag.c
mktree.c
object-refs.c
object.c
object.h
pack-check.c
pack-redundant.c
pack-write.c Use xmkstemp() instead of mkstemp() 2007-08-14 22:20:26 -07:00
pack.h
pager.c pager: find out pager setting from configuration 2007-08-06 21:10:59 -07:00
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path-list.c path-list.c: always free strdup'ed paths 2007-08-15 13:43:08 -07:00
path-list.h path-list.c: always free strdup'ed paths 2007-08-15 13:43:08 -07:00
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 git-blame shouldn't crash if run in an unmerged tree 2007-10-18 02:31:30 -04:00
README
receive-pack.c Improve receive-pack error message about funny ref creation 2007-10-20 21:49:24 -04:00
reflog-walk.c
reflog-walk.h
refs.c Fix filehandle leak in "git branch -D" 2007-08-10 22:50:06 -07:00
refs.h
RelNotes Whip post 1.5.3.4 maintenance series into shape. 2007-10-15 22:29:50 -04:00
remote.c Prevent send-pack from segfaulting (backport from 'master') 2007-10-30 16:21:56 -07:00
remote.h
revision.c Fix embarrassing "git log --follow" bug 2007-10-15 20:15:58 -04:00
revision.h Add --log-size to git log to print message size 2007-08-14 01:59:33 -07:00
rsh.c
rsh.h
run-command.c
run-command.h
send-pack.c helpful error message when send-pack finds no refs in common. 2007-10-16 22:01:15 -04:00
server-info.c
setup.c Fix setup_git_directory_gently() with relative GIT_DIR & GIT_WORK_TREE 2007-10-16 20:18:04 -04:00
sha1_file.c sha1_file.c: avoid gcc signed overflow warnings 2007-10-29 11:56:57 -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 Fix diffcore-break total breakage 2007-10-21 01:59:42 -04:00
tree-walk.c
tree-walk.h
tree.c Optimize "diff --cached" performance. 2007-08-10 11:44:23 -07:00
tree.h
unpack-file.c Use xmkstemp() instead of mkstemp() 2007-08-14 22:20:26 -07:00
unpack-trees.c Optimize the three-way merge of git-read-tree 2007-08-10 23:02:14 -07:00
unpack-trees.h Move old index entry removal from "unpack_trees()" into the individual functions 2007-08-10 13:59:19 -07:00
update-server-info.c
upload-pack.c
usage.c
utf8.c
utf8.h
var.c
write_or_die.c
wt-status.c Fix the rename detection limit checking 2007-09-14 12:12:57 -07: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.