From 431b1969fcde69959a23355fba6894fb69c8fa0c Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 21 Mar 2009 12:51:34 -0700 Subject: Rename interpret/substitute nth_last_branch functions These allow you to say "git checkout @{-2}" to switch to the branch two "branch switching" ago by pretending as if you typed the name of that branch. As it is likely that we will be introducing more short-hands to write the name of a branch without writing it explicitly, rename the functions from "nth_last_branch" to more generic "branch_name", to prepare for different semantics. Signed-off-by: Junio C Hamano --- builtin-branch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin-branch.c') diff --git a/builtin-branch.c b/builtin-branch.c index 14d4b917e5..cacd7daae7 100644 --- a/builtin-branch.c +++ b/builtin-branch.c @@ -123,7 +123,7 @@ static int delete_branches(int argc, const char **argv, int force, int kinds) for (i = 0; i < argc; i++, strbuf_release(&bname)) { int len = strlen(argv[i]); - if (interpret_nth_last_branch(argv[i], &bname) != len) + if (interpret_branch_name(argv[i], &bname) != len) strbuf_add(&bname, argv[i], len); if (kinds == REF_LOCAL_BRANCH && !strcmp(head, bname.buf)) { -- cgit 1.2.3-korg 5782ef24b26aa209e'/> Linux kernel stable treeStable Group
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2022-03-13 21:15:02 -1000
committerJens Axboe <axboe@kernel.dk>2022-03-14 14:23:13 -0600
commitaa1b46dcdc7baaf5fec0be25782ef24b26aa209e (patch)
treef10ed26aac12c5efc304deab416a8257a5fade47
parent26fed4ac4eab09c27fbae1859696cc38f0536407 (diff)
downloadlinux-aa1b46dcdc7baaf5fec0be25782ef24b26aa209e.tar.gz
block: fix rq-qos breakage from skipping rq_qos_done_bio()