git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-pull (or cg-fetch?) with exit status
@ 2005-10-30 13:24 Randal L. Schwartz
  2005-10-30 17:19 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Randal L. Schwartz @ 2005-10-30 13:24 UTC (permalink / raw)
  To: git


Other than grep the output of the "pull" commands, I'd like to have a
flag added that will also set an exit status to "successful" if new
things were pulled.  That way, I can automate a "make install"
resulting from a successful new pull, ala:

        git-pull --silent && make install

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

end of thread, other threads:[~2005-10-30 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30 13:24 git-pull (or cg-fetch?) with exit status Randal L. Schwartz
2005-10-30 17:19 ` Junio C Hamano
2005-10-30 20:05   ` Randal L. Schwartz

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).