diff options
Diffstat (limited to 'git-reset.sh')
-rwxr-xr-x | git-reset.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/git-reset.sh b/git-reset.sh index b9045bc762..91c7e6e664 100755 --- a/git-reset.sh +++ b/git-reset.sh @@ -53,11 +53,7 @@ then exit fi -TOP=$(git-rev-parse --show-cdup) -if test ! -z "$TOP" -then - cd "$TOP" -fi +cd_to_toplevel if test "$reset_type" = "--hard" then |