Re: How can I tell if anything was fetched?
- From
Enrico Weigelt <enrico.weigelt@vnc.biz>
- Date
- Oct 11, 2012, 18:29 UTC
- Message-ID
- <369f3feb-20e5-444f-b718-15d7dc8f2c61@zcs>
- In-Reply-To
- <m28vbdkley.fsf@igel.home>
> I think you'd only need to record the state of all refs (eg. the > output > of `git for-each-ref') to reliably detect any changes.
I would just record the output of `git ls-remote . | sort -u` somewhere and compare it next time (maybe you even wanna grep for the desired ref namespaces).
cu
-- Mit freundlichen Grüßen / Kind regards Enrico Weigelt VNC - Virtual Network Consult GmbH Head Of Development Pariser Platz 4a, D-10117 Berlin Tel.: +49 (30) 3464615-20 Fax: +49 (30) 3464615-59 enrico.weigelt@vnc.biz; www.vnc.de