X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/f4fec4982a9c836eafb46591f27c2608c26b9bfd..1629f59ff44b517fd0e738aca41d5657d083d842:/contrib/stg-whatchanged diff --git a/contrib/stg-whatchanged b/contrib/stg-whatchanged index afeda2c..f1f5308 100755 --- a/contrib/stg-whatchanged +++ b/contrib/stg-whatchanged @@ -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)/patches/$(stg top)" +patchdir="$(git rev-parse --git-dir)/patches/$(stg branch)/patches/$(stg top)" case $(stg log | head -n1) in *push\(c\)*) former="//top.old" ;; *) former="//top" ;;