Code

git-grep: don't use sscanf
[git.git] / git-bisect.sh
index e8d34189887cdbc2776ec2da039454c059705b65..b1c3a6b1c1af9815db473595f4eb3e9593425f10 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-USAGE='[start|bad|good|next|reset|visualize]'
+USAGE='[start|bad|good|next|reset|visualize|replay|log]'
 LONG_USAGE='git bisect start [<pathspec>]      reset bisect state and start bisection.
 git bisect bad [<rev>]         mark <rev> a known-bad revision.
 git bisect good [<rev>...]     mark <rev>... known-good revisions.
@@ -11,6 +11,7 @@ git bisect replay <logfile>   replay bisection log
 git bisect log                 show bisect log.'
 
 . git-sh-setup
+require_work_tree
 
 sq() {
        @@PERL@@ -e '