Thread (227 messages) flat view 227 messages, 10 authors, 2019-01-07

Re: [PATCH v15 02/27] bisect: rewrite `check_term_format` shell function in C

From: Pranit Bauva <hidden>
Date: 2016-11-15 05:42:38

Hey Stephan,

On Tue, Nov 15, 2016 at 3:50 AM, Stephan Beyer [off-list ref] wrote:
Hi,

I saw in the recent "What's cooking" mail that this is still waiting
for review, so I thought I could interfere and help reviewing it from a
non-git-developer point of view.
But only two commits for today. The first one seems fine. The second
one makes me write this mail ;-)
Thanks a lot!
On 10/14/2016 04:14 PM, Pranit Bauva wrote:
quoted
+static int check_term_format(const char *term, const char *orig_term)
+{
[...]
quoted
+     if (one_of(term, "help", "start", "skip", "next", "reset",
+                     "visualize", "replay", "log", "run", NULL))
[... vs ...]
quoted
-check_term_format () {
-     term=$1
-     git check-ref-format refs/bisect/"$term" ||
-     die "$(eval_gettext "'\$term' is not a valid term")"
-     case "$term" in
-     help|start|terms|skip|next|reset|visualize|replay|log|run)
Is there a reasons why "terms" has been dropped from the list?
It is a mistake. I will rectify.. Thanks!

Regards,
Pranit Bauva
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help