Re: git guidance

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: david
Date: Friday, December 7, 2007 - 2:17 pm

On Fri, 7 Dec 2007, Al Boldi wrote:


so if you have a script that does

echo "mail header" >tmpfile
echo "subject: >>tmpfile
echo >>tmpfile
echo "body" >>tmpfile

you want to have four seperate commits

what if you have a perl script

open outfile ">tmpfile";
print outfile "mail header\n";
print outfile "subject:\n\n";
print outfile "body\n";
close ourfile;

how many seperate commits do you think should take place?

what if $|=1 (unbuffered output, so that each print statement becomes 
visable to other programs immediatly)?

what if the file is changed via mmap? should each byte/word written to 
memory be a commit? or when the mmap is closed? or when the kernel happens 
to flush the page to disk?

'recording every change to a filesystem' is a very incomplete definition 
of a goal.

David Lang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git guidance, Jing Xue, (Thu Nov 29, 8:52 am)
Re: git guidance, Al Boldi, (Fri Nov 30, 11:50 pm)
Re: git guidance, Phillip Susi, (Tue Dec 4, 3:21 pm)
Re: git guidance, Andreas Ericsson, (Thu Dec 6, 11:24 am)
Re: git guidance, Johannes Schindelin, (Thu Dec 6, 1:22 pm)
Re: git guidance, Phillip Susi, (Thu Dec 6, 2:46 pm)
Re: git guidance, Al Boldi, (Thu Dec 6, 9:37 pm)
Re: git guidance, Andreas Ericsson, (Fri Dec 7, 1:40 am)
Re: git guidance, Al Boldi, (Fri Dec 7, 3:53 am)
Re: git guidance, Jakub Narebski, (Fri Dec 7, 4:47 am)
Re: git guidance, Andreas Ericsson, (Fri Dec 7, 5:30 am)
Re: git guidance, Al Boldi, (Fri Dec 7, 10:35 am)
Re: git guidance, Al Boldi, (Fri Dec 7, 11:55 am)
Re: git guidance, Al Boldi, (Fri Dec 7, 12:04 pm)
Re: git guidance, Valdis.Kletnieks, (Fri Dec 7, 12:36 pm)
Re: git guidance, david, (Fri Dec 7, 2:17 pm)
Re: git guidance, Björn, (Fri Dec 7, 3:00 pm)
Re: git guidance, Luke Lu, (Fri Dec 7, 3:07 pm)
Re: git guidance, Al Boldi, (Fri Dec 7, 9:56 pm)
Re: git guidance, Valdis.Kletnieks, (Fri Dec 7, 10:16 pm)
Re: git guidance, Martin Langhoff, (Fri Dec 7, 11:33 pm)
Re: git guidance, Al Boldi, (Sat Dec 8, 3:41 am)
Re: git guidance, Johannes Schindelin, (Sat Dec 8, 4:13 am)