Only show the first few lines of difference.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 25 Nov 2006 04:07:06 +0000 (04:07 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 25 Nov 2006 04:07:06 +0000 (04:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31901 91177308-0d34-0410-b5e6-96231b3b80d8

utils/findmisopt

index 3828c70b12348c0235ce1cfe5b9f756f3c3a5e05..f8099a98dbcbc6a45b042adf607ad4dbf143decf 100755 (executable)
@@ -116,7 +116,7 @@ function tryit {
       echo "Diff fails with these switches:"
       echo $switches
       echo "Differences:"
-      diff "$out" "$optout" 
+      diff "$out" "$optout" | head
       return 0;
     fi
   fi