Nguyễn Thái Ngọc Duy
14ace5b77b
branch: do not rename a branch under bisect or rebase
...
The branch name in that case could be saved in rebase's head_name or
bisect's BISECT_START files. Ideally we should try to update them as
well. But it's trickier (*). Let's play safe and see if the user
complains about inconveniences before doing that.
(*) If we do it, bisect and rebase need to provide an API to rename
branches. We can't do it in worktree.c or builtin/branch.c because
when other people change rebase/bisect code, they may not be aware of
this code and accidentally break it (e.g. rename the branch file, or
refer to the branch in new files). It's a lot more work.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2016-04-22 14:09:39 -07:00
..
2015-11-05 12:18:12 -08:00
2016-03-10 11:13:41 -08:00
2016-04-13 14:12:34 -07:00
2016-04-13 14:12:41 -07:00
2016-04-22 14:09:39 -07:00
2016-01-15 10:35:06 -08:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-02-01 13:43:49 -08:00
2016-04-22 14:09:38 -07:00
2016-02-26 13:37:16 -08:00
2016-04-06 11:39:01 -07:00
2016-01-15 10:35:07 -08:00
2015-11-20 08:02:05 -05:00
2016-04-06 11:39:10 -07:00
2016-04-03 10:29:26 -07:00
2015-11-20 08:02:05 -05:00
2015-11-20 08:02:05 -05:00
2016-02-25 11:31:02 -08:00
2016-02-22 14:51:09 -08:00
2016-03-01 11:19:19 -08:00
2016-04-06 11:39:01 -07:00
2015-12-11 11:14:13 -08:00
2015-09-17 10:02:49 -07:00
2015-11-20 08:02:05 -05:00
2015-12-04 11:33:08 -08:00
2015-10-16 15:27:52 -07:00
2016-03-10 11:13:43 -08:00
2016-02-10 14:20:08 -08:00
2016-02-22 14:51:09 -08:00
2016-04-03 10:29:31 -07:00
2016-04-13 14:12:28 -07:00
2016-01-14 12:22:17 -08:00
2016-04-13 14:12:36 -07:00
2016-02-10 14:20:08 -08:00
2016-01-19 10:07:56 -08:00
2015-09-25 10:18:18 -07:00
2015-10-21 15:59:34 -07:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2015-11-03 15:32:41 -08:00
2015-10-05 11:08:05 -07:00
2015-09-25 10:18:18 -07:00
2016-02-22 14:51:09 -08:00
2016-04-08 14:29:11 -07:00
2015-10-16 15:27:52 -07:00
2016-02-26 13:37:16 -08:00
2016-02-22 14:51:09 -08:00
2015-11-20 08:02:05 -05:00
2016-04-22 14:09:37 -07:00
2016-03-16 10:42:32 -07:00
2016-02-22 14:51:09 -08:00
2015-10-16 15:27:52 -07:00
2015-11-03 15:32:25 -08:00
2016-03-21 13:30:36 -07:00
2016-02-26 13:37:25 -08:00
2015-09-25 10:18:18 -07:00
2016-03-01 13:38:45 -08:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:50:32 -08:00
2016-02-26 13:37:19 -08:00
2016-01-15 10:12:51 -08:00
2015-11-20 08:02:05 -05:00
2015-10-05 13:20:08 -07:00
2015-11-20 08:02:05 -05:00
2016-03-16 10:42:32 -07:00
2016-04-03 10:29:27 -07:00
2016-02-22 13:10:21 -08:00
2016-04-13 14:12:33 -07:00
2016-01-28 16:10:14 -08:00
2015-12-11 11:14:14 -08:00
2015-11-20 08:02:07 -05:00
2016-01-29 16:02:34 -08:00
2016-04-06 11:39:12 -07:00
2015-12-21 12:03:03 -08:00
2016-03-22 15:13:40 -07:00
2015-09-25 10:18:18 -07:00
2015-11-20 08:02:05 -05:00
2016-02-10 14:20:08 -08:00
2015-09-25 10:18:18 -07:00
2016-04-22 14:09:38 -07:00