I decided to address this before "cherry-pick on unborn branch". RFC
mostly because I'm not sure about the user interface. When we have
agreed on that, I will add documentation.
Martin von Zweigbergk (2):
reset: learn to reset to tree
reset: learn to reset on unborn branch
builtin/reset.c | 73 ++++++++++++++++++++++---------------
t/t1512-rev-parse-disambiguation.sh | 4 --
t/t7102-reset.sh | 26 +++++++++++++
t/t7106-reset-unborn-branch.sh | 52 ++++++++++++++++++++++++++
4 files changed, 122 insertions(+), 33 deletions(-)
create mode 100755 t/t7106-reset-unborn-branch.sh
--
1.8.0.1.240.ge8a1f5a