Re: git-ls-new-files & make patch, pull, etc.

2005-09-08 Thread Junio C Hamano
In my opinion, setting the file timestamp to the commit time (or any other time other than the time of checkout) tends to screw you up more than help you. Suppose you have the latest checked out in your working tree, you build and test, and find regressions. You'd want to check out from an older

Re: git-ls-new-files & make patch, pull, etc.

2005-09-08 Thread Jeff Carr
On 09/06/2005 02:08 PM, Junio C Hamano wrote: > Jeff Carr <[EMAIL PROTECTED]> writes: > > >>... If I remember >>correctly, there was some threads at the beginning of git about how >>datestamps were not accurate so there was no point in setting them(?) Or >>maybe I mis-understood. > > > The poin

Re: git-ls-new-files & make patch, pull, etc.

2005-09-06 Thread Junio C Hamano
Jeff Carr <[EMAIL PROTECTED]> writes: > ... If I remember > correctly, there was some threads at the beginning of git about how > datestamps were not accurate so there was no point in setting them(?) Or > maybe I mis-understood. The point of those thread was that clocks on machines tend to be not

Re: git-ls-new-files & make patch, pull, etc.

2005-09-06 Thread Jeff Carr
On 08/22/2005 10:15 PM, Junio C Hamano wrote: > Jeff Carr <[EMAIL PROTECTED]> writes: > > >>Something simple like the perl script at the bottom would be useful for >>showing files that haven't been added via git-update-cache --add already. > > > If I am not mistaken, you just reinvented: > >

Re: git-ls-new-files & make patch, pull, etc.

2005-09-06 Thread Jeff Carr
On 08/22/2005 11:48 PM, Johannes Schindelin wrote: > >>patch: > > "git diff" > > >>push: > > "git push origin" (or maybe "git push HEAD:origin") > > >>pull: > > "git pull origin" > > >>commit: >> vi changelog.txt >> GIT_AUTHOR_NAME="$(GIT_AUTHOR_NAME)" \ >> GIT_AUTHOR_EMAIL

Re: git-ls-new-files & make patch, pull, etc.

2005-08-22 Thread Johannes Schindelin
Hi, On Mon, 22 Aug 2005, Jeff Carr wrote: > patch: > git-diff-files -p "git diff" > push: > git-send-pack `cat .git/branches/origin` "git push origin" (or maybe "git push HEAD:origin") > pull: > git-pull-script `cat .git/branches/origin` > git-read-tree -m HEAD >

Re: git-ls-new-files & make patch, pull, etc.

2005-08-22 Thread Junio C Hamano
Jeff Carr <[EMAIL PROTECTED]> writes: > Something simple like the perl script at the bottom would be useful for > showing files that haven't been added via git-update-cache --add already. If I am not mistaken, you just reinvented: $ git ls-files --others in a very expensive way. Notice you

git-ls-new-files & make patch, pull, etc.

2005-08-22 Thread Jeff Carr
Something simple like the perl script at the bottom would be useful for showing files that haven't been added via git-update-cache --add already. I've also found it useful to start adding things to the Makefile's of the projects I'm putting in git repositories. I think it would be useful to come u