diff --git a/bin/dunecontrol b/bin/dunecontrol index bf2a608e93a977f4c9d43d4540346368e3c222b3..81407f49a6a0c6e2efe545f797bf42627f734526 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -583,8 +583,8 @@ run_default_update () { svn update elif test -d CVS; then cvs update -dP - elif test -d .git; then - if test -d ".git/svn" && test -n "`git svn find-rev HEAD`"; then + elif test -d .git || test -f .git; then + if test -d .git && test -d ".git/svn" && test -n "`git svn find-rev HEAD`"; then # If the current HEAD points to a SVN commit, update via git-svn git svn rebase else