git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How can I tell if a file has been updated upstream?
@ 2010-02-05 16:23 Timur Tabi
  2010-02-05 16:44 ` Shawn O. Pearce
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Timur Tabi @ 2010-02-05 16:23 UTC (permalink / raw)
  To: git

Is there a way for me to tell if a particular file in my repository
has an update in the upstream repository?  For example, the SHA of the
HEAD is different in the remote repository than it is of the HEAD in
the local repository.

The reason I ask is that I have a set of Python scripts that I
distribute via git (other people in the company clone my repository).
I want my script, every time it's run, to check if an update is
available, and ask the user to do "git pull".

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-26  0:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 16:23 How can I tell if a file has been updated upstream? Timur Tabi
2010-02-05 16:44 ` Shawn O. Pearce
2010-02-05 16:56   ` Timur Tabi
2010-02-05 17:39     ` Nicolas Pitre
2010-02-05 16:50 ` Junio C Hamano
2010-02-05 16:57   ` Timur Tabi
2010-02-26  0:18 ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).