diff --git a/bin/git-summary b/bin/git-summary index 3017edc7f..c1bcdce9f 100755 --- a/bin/git-summary +++ b/bin/git-summary @@ -1,5 +1,9 @@ #!/usr/bin/env bash +SUBDIRECTORY_OK=Yes +source "$(git --exec-path)/git-sh-setup" +cd_to_toplevel + commit="" test $# -ne 0 && commit=$@ project=${PWD##*/}