03516e94be55ed445503cba4d54612a22ada3705
kuhn
  Thu Dec 20 17:01:38 2012 -0800
mods per brooke's suggestions.  fixes bug when the word 'commit' is in the commit comment and changes old name for script in usage statement to current name
diff --git src/utils/qa/showLastGit.csh src/utils/qa/showLastGit.csh
index 9693ad4..bdd220b 100755
--- src/utils/qa/showLastGit.csh
+++ src/utils/qa/showLastGit.csh
@@ -1,25 +1,25 @@
 #!/bin/tcsh
 
 ################################
 #  
 #  01-17-2012
 #  Robert Kuhn
 #
 #  see the last change made in a git-repo'd file
 #
 ################################
 
 
 if ( $#argv != 1 ) then
   echo
   echo "  shows the diff for the last git checkin for a file"
-  echo "     usage: gitFindLast.csh filename"
+  echo "     usage: showLastGit.csh filename"
   echo
   exit
 else
   set file=$argv[1]
 endif
 
-set hash=`git log -1 $file | grep commit | awk '{print $2}'`
+set hash=`git log -1 $file | head -1 | awk '{print $2}'`
 git show $hash $file
 
