]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/worktree.c
worktree list: keep the list sorted
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 28 Nov 2016 09:36:56 +0000 (16:36 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Nov 2016 21:18:51 +0000 (13:18 -0800)
commit4df1d4d4666eb26b420d5b386010470729846b8c
tree3326149c4a7e8c3927d56e1f2a0e04ba0f19c1ee
parent4fff1ef7ffe0e370459242cf08c51177eeb4181f
worktree list: keep the list sorted

It makes it easier to write tests for. But it should also be good for
the user since locating a worktree by eye would be easier once they
notice this.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c
t/t2027-worktree-list.sh
worktree.c
worktree.h