log.decorate: only ignore it under "log --pretty=raw"
[gitweb.git] / git-submodule.sh
index 664f21721cb876eed7da167744066d834521c825..c8d80822c23ad0daea258314966321a2873bd5f0 100755 (executable)
@@ -643,7 +643,7 @@ cmd_summary() {
                                range=$sha1_dst
                        fi
                        GIT_DIR="$name/.git" \
-                       git log --pretty=oneline --first-parent $range | wc -l
+                       git rev-list --first-parent $range -- | wc -l
                        )
                        total_commits=" ($(($total_commits + 0)))"
                        ;;