diff options
| author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-11 01:38:33 -0300 |
|---|---|---|
| committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-11 01:38:33 -0300 |
| commit | 48828bef374bf88f8e61a4ba8a31c872131d925e (patch) | |
| tree | a7b9a291f0476022654facd78d43be007aee8bee /git-shell-commands | |
| parent | 274e882c78f4e29820281608bd7c742dbf666717 (diff) | |
Add .git sufix
Diffstat (limited to 'git-shell-commands')
| -rwxr-xr-x | git-shell-commands/change-owner | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-shell-commands/change-owner b/git-shell-commands/change-owner index 41bf22b..4cf90c7 100755 --- a/git-shell-commands/change-owner +++ b/git-shell-commands/change-owner @@ -7,6 +7,7 @@ set -e repo=$1; shift -git config -f "${repo}/config" "gitweb.owner" "${@}" +test -d "${repo}".git && \ +git config -f "${repo}.git/config" "gitweb.owner" "${@}" exit $? |
