Thread (1 message) 1 message, 1 author, 2016-06-15

Re: how to check remote git repo for updates without pull/fetch

From: James Cloos <hidden>
Date: 2016-06-15 22:45:48

quoted
quoted
quoted
quoted
"David" == David Aguilar [off-list ref] writes:
David> Your script will report false positives if you run that in a branch
David> where you've made local commits since git log's output will list a
David> commit that's not on the remote side.

Ah.  Yes.  I forgot to mention that.  Good catch.

I wrote the script specifically for use with the repos created by Gentoo's
git eclass (used when installing packages from git repos rather than from
tars or the like).  As such, it only needed to deal with pristine clones.

-JimC
-- 
James Cloos [off-list ref]         OpenPGP: 1024D/ED7DAEA6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help