chiark / gitweb /
Fixed typo in contrib/stg-whatchanged.
[stgit] / contrib / stg-whatchanged
index f80d0a1a191f3a1ac38a85167e474431114fc217..d5b6965ccef8f2e620642fe754fd7771561cd282 100755 (executable)
@@ -23,7 +23,7 @@ fi
 
 # Merges via "push" leave top=bottom so we must look at old patch
 # in this case (unlike, eg., "pick --fold")
-patchdir="$(git-rev-parse --git-dir)/patches/$(stg branch)/$(stg top)"
+patchdir="$(git-rev-parse --git-dir)/patches/$(stg branch)/patches/$(stg top)"
 if [ $(cat "$patchdir/bottom") = $(cat "$patchdir/top") ];
 then
     current_cmd="stg show //top.old"