Git development
 help / color / mirror / Atom feed
* Howto get repository up2date after pull with touching as less as possible files in the working directory
@ 2005-05-09 17:49 Thomas Glanzmann
  2005-05-09 18:18 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Glanzmann @ 2005-05-09 17:49 UTC (permalink / raw)
  To: GIT

Hello alltogether,
at the moment I ensrure that there are no dirty files before the pull
and do a

	git-read-tree HEAD
	git-checkout -a -f
	git-update-cache --refresh

this is suboptimal because all the files in my working directory get a
new timestamp and if I call make everything is recompiled (ccache helps,
but is not the solution to this problem).

So what is the right way to touch *only* the files which are dirty. Are
there any shortcuts? Or should I call 'git dirty' pipe that to
git-checkout -f?

	Thomas

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

end of thread, other threads:[~2005-05-09 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-09 17:49 Howto get repository up2date after pull with touching as less as possible files in the working directory Thomas Glanzmann
2005-05-09 18:18 ` Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox