worktree: introduce options container
commit5dd6e234a75bb96e159c4e7d30f6acb28c3283a0
authorEric Sunshine <sunshine@sunshineco.com>
Fri, 17 Jul 2015 23:00:07 +0000 (17 19:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Jul 2015 18:29:24 +0000 (20 11:29 -0700)
tree31a92a185e2877d43942fc00c3be524a8efbb8ca
parenteef005dcb3e039ccc3da65e9347cf4357bdeea6a
worktree: introduce options container

add_worktree() will eventually need to deal with some options itself, so
introduce a structure into which options can be conveniently bundled,
and pass it along to add_worktree().

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c