Skip to content

Commit b1e32e7

Browse files
committed
stash/rebase: default to the non-builtin versions
The upcoming Git for Windows v2.19.0 wants to ship with the builtin versions of stash, rebase and rebase -i. The reason: these are just *so much faster*: t3400 and t3404 run about 60-70 percent faster, and t3903 even more than 80% faster. However, these are still all pretty fresh, still being reviewed and iterated on the Git mailing list. So let's try to give users a way to test these (or to boldly use them for their mission-critical tasks, as this here developer plans on doing), but stay with the safe option by default: use the scripted versions (which might be slow, but they are well tested). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent bb8f11d commit b1e32e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin/rebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static int use_builtin_rebase(void)
5454
cp.git_cmd = 1;
5555
if (capture_command(&cp, &out, 6)) {
5656
strbuf_release(&out);
57-
return 1;
57+
return 0;
5858
}
5959

6060
strbuf_trim(&out);

builtin/stash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ static int use_builtin_stash(void)
14891489
cp.git_cmd = 1;
14901490
if (capture_command(&cp, &out, 6)) {
14911491
strbuf_release(&out);
1492-
return 1;
1492+
return 0;
14931493
}
14941494

14951495
strbuf_trim(&out);

0 commit comments

Comments
 (0)