1
0
mirror of https://github.com/git/git.git synced 2024-10-01 03:42:35 +02:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Christian Couder e3389075c6 bisect: fix bad rev checking in "git bisect good"
It seems that "git bisect good" and "git bisect skip" have never
properly checked arguments that have been passed to them. As soon
as one of them can be parsed as a SHA1, no error or warning would
be given.

This is because 'git rev-parse --revs-only --no-flags "$@"' always
"exit 0" and outputs all the SHA1 it can found from parsing "$@".

This patch fix this by using, for each "bisect good" argument, the
same logic as for the "bisect bad" argument.

While at it, this patch teaches "bisect bad" to give a meaningfull
error message when it is passed more than one argument.

Note that if "git bisect good" or "git bisect skip" is given some
proper revs and then something that is not a proper rev, then the
first proper revs will still have been marked as "good" or "skip".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-04-11 23:54:45 -07:00
arm
compat
contrib git-new-workdir: Share SVN meta data between work dirs and the repository 2008-03-15 00:05:18 -07:00
Documentation Fix section about backdating tags in the git-tag docs 2008-04-11 17:34:05 -07:00
git-gui Merge branch 'maint' of git://repo.or.cz/git-gui into maint 2008-03-06 00:18:23 -08:00
gitk-git
gitweb gitweb: Fix bug in href(..., -replay=>1) when using 'pathinfo' form 2008-03-12 09:43:08 -07:00
mozilla-sha1
perl
ppc
t bisect: fix bad rev checking in "git bisect good" 2008-04-11 23:54:45 -07:00
templates templates/Makefile: don't depend on local umask setting 2008-02-28 13:36:50 -08:00
xdiff
.gitignore
.mailmap GIT 1.5.4.2 2008-02-17 00:20:38 -08:00
alloc.c
archive-tar.c git-archive: ignore prefix when checking file attribute 2008-04-10 00:20:38 -07:00
archive-zip.c git-archive: ignore prefix when checking file attribute 2008-04-10 00:20:38 -07:00
archive.c
archive.h
attr.c gitattributes: fix relative path matching 2008-02-07 00:04:50 -08:00
attr.h
base85.c
blob.c
blob.h
builtin-add.c
builtin-annotate.c
builtin-apply.c Fix "git apply" to correctly enforce "match at the beginning" 2008-04-06 19:21:45 -07:00
builtin-archive.c
builtin-blame.c
builtin-branch.c builtin-branch.c: guard config parser from value=NULL 2008-02-11 13:11:36 -08:00
builtin-bundle.c
builtin-cat-file.c
builtin-check-attr.c
builtin-check-ref-format.c
builtin-checkout-index.c
builtin-clean.c
builtin-commit-tree.c
builtin-commit.c Document option --only of git commit 2008-04-11 12:54:15 -07:00
builtin-config.c builtin-config.c: guard config parser from value=NULL 2008-02-11 13:11:36 -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 Correct fast-export file mode strings to match fast-import standard 2008-02-24 20:09:54 -08:00
builtin-fetch--tool.c
builtin-fetch-pack.c
builtin-fetch.c Tighten refspec processing 2008-03-26 00:10:55 -07:00
builtin-fmt-merge-msg.c
builtin-for-each-ref.c
builtin-fsck.c
builtin-gc.c builtin-gc.c: guard config parser from value=NULL 2008-02-11 13:11:36 -08:00
builtin-grep.c
builtin-http-fetch.c Set proxy override with http_init() 2008-02-27 15:37:57 -08:00
builtin-init-db.c Use a single implementation and API for copy_file() 2008-02-25 13:06:49 -08:00
builtin-log.c builtin-log.c: guard config parser from value=NULL 2008-02-11 13:14:25 -08:00
builtin-ls-files.c
builtin-ls-remote.c Fix 'git remote show' regression on empty repository in 1.5.4 2008-03-03 22:47:14 -08:00
builtin-ls-tree.c
builtin-mailinfo.c mailinfo: feed only one line to handle_filter() for QP input 2008-02-15 22:16:34 -08:00
builtin-mailsplit.c
builtin-merge-base.c
builtin-merge-file.c merge-file: handle empty files gracefully 2008-03-13 23:43:56 -07:00
builtin-merge-ours.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c Revert "pack-objects: only throw away data during memory pressure" 2008-02-12 23:39:03 -08:00
builtin-pack-refs.c
builtin-prune-packed.c
builtin-prune.c Make git prune remove temporary packs that look like write failures 2008-02-11 12:22:58 -08:00
builtin-push.c push: indicate partialness of error message 2008-02-19 20:44:47 -08:00
builtin-read-tree.c
builtin-reflog.c builtin-reflog.c: don't install new reflog on write failure 2008-02-27 13:26:24 -08:00
builtin-rerere.c Use a single implementation and API for copy_file() 2008-02-25 13:06:49 -08:00
builtin-reset.c
builtin-rev-list.c
builtin-rev-parse.c rev-parse: fix potential bus error with --parseopt option spec handling 2008-02-25 21:40:12 -08:00
builtin-revert.c revert: actually check for a dirty index 2008-03-02 23:33:59 -08:00
builtin-rm.c
builtin-send-pack.c Tighten refspec processing 2008-03-26 00:10:55 -07:00
builtin-shortlog.c shortlog: take the first populated line of the description 2008-03-05 13:28:39 -08:00
builtin-show-branch.c builtin-show-branch.c: guard config parser from value=NULL 2008-02-11 13:11:36 -08:00
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c
builtin-tag.c Fix documentation syntax of optional arguments in short options. 2008-04-10 00:20:31 -07:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c
builtin-upload-archive.c
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 Use a single implementation and API for copy_file() 2008-02-25 13:06:49 -08:00
check-builtins.sh
check-racy.c
color.c Fix parsing numeric color values 2008-02-06 14:02:41 -08:00
color.h
combine-diff.c
command-list.txt
commit.c
commit.h format-patch: generate MIME header as needed even when there is format.header 2008-03-15 00:06:06 -07:00
config.c Add "const" qualifier to "char *excludes_file". 2008-02-15 21:24:54 -08:00
config.mak.in
configure.ac
connect.c connect.c: guard config parser from value=NULL 2008-02-11 13:11:36 -08:00
convert.c convert.c: guard config parser from value=NULL 2008-02-11 13:11:36 -08:00
copy.c Use a single implementation and API for copy_file() 2008-02-25 13:06:49 -08:00
COPYING
csum-file.c
csum-file.h
ctype.c
daemon.c daemon: ensure that base-path is an existing directory 2008-02-27 14:47:36 -08:00
date.c timezone_names[]: fixed the tz offset for New Zealand. 2008-02-25 21:56:10 -08:00
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c
diff.c Use a single implementation and API for copy_file() 2008-02-25 13:06:49 -08:00
diff.h
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c
dir.h
dump-cache-tree.c
entry.c
environment.c Add "const" qualifier to "char *excludes_file". 2008-02-15 21:24:54 -08:00
exec_cmd.c
exec_cmd.h
fast-import.c Really make the LF after reset in fast-import optional 2008-03-08 10:46:10 -08:00
fetch-pack.h
fixup-builtins
generate-cmdlist.sh
git-add--interactive.perl
git-am.sh
git-archimport.perl
git-bisect.sh bisect: fix bad rev checking in "git bisect good" 2008-04-11 23:54:45 -07:00
git-checkout.sh
git-clone.sh git-clone.sh: properly configure remote even if remote's head is dangling 2008-02-20 11:31:17 -08:00
git-compat-util.h
git-cvsexportcommit.perl Merge branch 'js/maint-cvsexport' into maint 2008-03-08 02:13:52 -08:00
git-cvsimport.perl git-cvsimport: fix merging with remote parent branch 2008-03-12 21:03:39 -07:00
git-cvsserver.perl
git-filter-branch.sh filter-branch: handle "disappearing tree" case correctly in subdir filter 2008-03-08 13:25:57 -08:00
git-help--browse.sh
git-instaweb.sh
git-lost-found.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-merge-stupid.sh
git-merge.sh git-merge.sh: better handling of combined --squash,--no-ff,--no-commit options 2008-03-03 13:38:30 -08:00
git-mergetool.sh
git-parse-remote.sh
git-pull.sh
git-quiltimport.sh quiltimport: fix misquoting of parsed -p<num> parameter 2008-03-12 21:07:19 -07:00
git-rebase--interactive.sh Prompt to continue when editing during rebase --interactive 2008-02-27 11:23:22 -08:00
git-rebase.sh rebase -m: do not trigger pre-commit verification 2008-03-16 01:00:40 -07:00
git-relink.perl
git-remote.perl
git-repack.sh
git-request-pull.sh
git-send-email.perl send-email: fix In-Reply-To regression 2008-02-27 13:26:14 -08:00
git-sh-setup.sh Protect get_author_ident_from_commit() from filenames in work tree 2008-02-13 13:43:02 -08:00
git-stash.sh
git-submodule.sh git-submodule: Fix typo 'url' which should be '$url' 2008-03-02 21:25:45 -08:00
git-svn.perl git-svn: don't blindly append '*' to branch/tags config 2008-03-14 17:54:28 -07:00
GIT-VERSION-GEN GIT 1.5.4.5 2008-03-27 20:36:35 -07:00
git.c git.c: guard config parser from value=NULL 2008-02-11 13:11:37 -08:00
git.spec.in Rename git-core rpm to just git and rename the meta-pacakge to git-all. 2008-02-19 22:17:22 -08:00
grep.c
grep.h
hash-object.c
hash.c hash: fix lookup_hash semantics 2008-02-22 13:39:20 -08:00
hash.h
help.c help.c: guard config parser from value=NULL 2008-02-11 13:11:37 -08:00
http-push.c Merge branch 'mh/maint-http-proxy-fix' into maint 2008-03-08 02:20:37 -08:00
http-walker.c Set proxy override with http_init() 2008-02-27 15:37:57 -08:00
http.c Merge branch 'mh/maint-http-proxy-fix' into maint 2008-03-08 02:20:37 -08:00
http.h Set proxy override with http_init() 2008-02-27 15:37:57 -08:00
ident.c ident.c: reword error message when the user name cannot be determined 2008-03-08 19:43:21 -08:00
imap-send.c imap-send.c: guard config parser from value=NULL 2008-02-11 13:14:25 -08:00
index-pack.c
INSTALL INSTALL: git-merge no longer uses cpio 2008-02-05 23:31:17 -08:00
interpolate.c
interpolate.h
list-objects.c
list-objects.h
lockfile.c
log-tree.c format-patch: generate MIME header as needed even when there is format.header 2008-03-15 00:06:06 -07:00
log-tree.h
mailmap.c
mailmap.h
Makefile git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails 2008-03-05 02:13:16 -05:00
match-trees.c
merge-file.c
merge-index.c
merge-recursive.c merge-recursive: handle file mode changes 2008-03-13 23:41:16 -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
pack.h
pager.c
parse-options.c Fix documentation syntax of optional arguments in short options. 2008-04-10 00:20:31 -07:00
parse-options.h
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path-list.c
path-list.h
path.c
pkt-line.c
pkt-line.h
pretty.c format-patch: generate MIME header as needed even when there is format.header 2008-03-15 00:06:06 -07:00
progress.c
progress.h
quote.c unquote_c_style: fix off-by-one. 2008-03-07 13:31:30 -08:00
quote.h
reachable.c
reachable.h
read-cache.c
README
receive-pack.c receive-pack: Initialize PATH to include exec-dir. 2008-03-02 20:58:19 -08:00
reflog-walk.c
reflog-walk.h
refs.c Protect peel_ref fallback case from NULL parse_object result 2008-02-24 00:52:55 -08:00
refs.h
RelNotes Start draft ReleaseNotes for 1.5.4.5 2008-03-16 01:01:57 -07:00
remote.c Fix branches file configuration 2008-03-26 00:50:51 -07:00
remote.h Tighten refspec processing 2008-03-26 00:10:55 -07:00
revision.c revision.c: make --date-order overriddable 2008-04-11 23:01:33 -07:00
revision.h
run-command.c
run-command.h
send-pack.h
server-info.c
setup.c setup.c: guard config parser from value=NULL 2008-02-11 13:11:37 -08:00
sha1_file.c
sha1_name.c rev-parse: fix meaning of rev~ vs rev~0. 2008-03-14 17:59:24 -07:00
shallow.c
shell.c
show-index.c
sideband.c
sideband.h
strbuf.c
strbuf.h
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
test-sha1.c
test-sha1.sh
trace.c
transport.c Set proxy override with http_init() 2008-02-27 15:37:57 -08:00
transport.h
tree-diff.c
tree-walk.c
tree-walk.h
tree.c
tree.h
unpack-file.c
unpack-trees.c
unpack-trees.h
update-server-info.c
upload-pack.c upload-pack: Initialize the exec-path. 2008-02-13 12:04:01 -08:00
usage.c
utf8.c
utf8.h
var.c
walker.c
walker.h Set proxy override with http_init() 2008-02-27 15:37:57 -08:00
write_or_die.c
ws.c
wt-status.c status: suggest "git rm --cached" to unstage for initial commit 2008-02-13 13:54:58 -08:00
wt-status.h
xdiff-interface.c merge-file: handle empty files gracefully 2008-03-13 23:43:56 -07: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/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.