reset.c
5.04 KB
-
reset: perform the checkout before moving HEAD or the index · 465c3b38
This keeps the state of the workdir the same as one from HEAD, removing a source of possible confusion when calculating the work that is to be done.
Carlos Martín Nieto committed