Re: bug with check-ref-format outside of repository

2017-07-14 Thread Jeff King
On Sat, Jul 08, 2017 at 03:17:32AM +0200, Marko Kungla wrote: > 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. > >

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