Re: Post-receive hook for "git pull"

2016-02-12 Thread Stefan Monnier
>> I have a system here where it can be quite common to have thousands of >> branches in the remote repository, and where I'd like to update some >> local state according to the appearance of new branches (or updates of >> pre-existing ones). >> Currently, I use a "git for-each-ref" after pulling

Post-receive hook for "git pull"

2015-12-07 Thread Stefan Monnier
I have a system here where it can be quite common to have thousands of branches in the remote repository, and where I'd like to update some local state according to the appearance of new branches (or updates of pre-existing ones). Currently, I use a "git for-each-ref" after pulling and then check

Re: Post-receive hook for "git pull"

2015-12-07 Thread Junio C Hamano
Stefan Monnier writes: > I have a system here where it can be quite common to have thousands of > branches in the remote repository, and where I'd like to update some > local state according to the appearance of new branches (or updates of > pre-existing ones). > >