Show More
@@ -802,7 +802,7 b' class gitsubrepo(abstractsubrepo):' | |||||
802 | return |
|
802 | return | |
803 | elif self._gitstate() == revision: |
|
803 | elif self._gitstate() == revision: | |
804 | if overwrite: |
|
804 | if overwrite: | |
805 |
# first reset the index to unmark new files for commit, because |
|
805 | # first reset the index to unmark new files for commit, because | |
806 | # reset --hard will otherwise throw away files added for commit, |
|
806 | # reset --hard will otherwise throw away files added for commit, | |
807 | # not just unmark them. |
|
807 | # not just unmark them. | |
808 | self._gitcommand(['reset', 'HEAD']) |
|
808 | self._gitcommand(['reset', 'HEAD']) |
General Comments 0
You need to be logged in to leave comments.
Login now