Merge branch 'ap/dateformat'
[gitweb.git] / git-submodule.sh
index 727b1d3206da6964affe80d92699cd39c1878e34..4aaaaab0d8450094efb8d2f8e82cc63383b91b48 100755 (executable)
@@ -138,8 +138,8 @@ module_add()
                # it is local
                if base=$(get_repo_base "$repo"); then
                        repo="$base"
-                       realrepo=$repo
                fi
+               realrepo=$repo
                ;;
        esac