Re: [PATCH] check-ref-format: require a repository for --branch

2017-07-17 Thread Marko Kungla
I guess that should only be about that it should not hit a (BUG). In my case in the example I gave I scan trough the directories to check repository status one of the tasks make use of check-ref-format. Since it may hit directory which is not a git repository it should not expose error (BUG)

bug with check-ref-format outside of repository

2017-07-07 Thread Marko Kungla
Hi, As contrived e.g: if I have in my "workspace" sub directories mostly git repositories, but some not and if I exec, "for d in */ ; do (cd $d && git check-ref-format --branch @{-1}); done" then I get 3 possible responses. git version: 2.13.0 1. Valid branch name 2. fatal: '@{-1}' is not a