login
Header Space

 
 

Re: If you would write git from scratch now, what would you change?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dana How <danahow@...>
Cc: Jakub Narebski <jnareb@...>, <git@...>
Date: Monday, November 26, 2007 - 4:55 pm

On Mon, 26 Nov 2007, Dana How wrote:


Sure, but let's not go overboard either.


Exactly.


Don't know what you mean exactly here, but what I mean is to do 
something as simple as:

	pretend_sha1_file(...);
	add_object_entry(...);
	write_pack_file();

when the buffer to make a blob from is larger than a configured 
treshold.


Right.  Only the first 16 bytes or so need to be uncompressed.


Oh, you're right.  Somehow I didn't count the needed decompression.


... which my suggestion should provide with a minimum of changes, maybe 
less than 10 lines of code.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
C# binding, was Re: If you would write git from scratch now,..., Johannes Schindelin, (Tue Nov 27, 7:47 am)
Re: If you would write git from scratch now, what would you ..., Nicolas Pitre, (Mon Nov 26, 4:55 pm)
Re: If you would write git from scratch now, what would you ..., Andreas Ericsson, (Tue Nov 27, 10:11 am)
Re: If you would write git from scratch now, what would you ..., Johannes Schindelin, (Mon Nov 26, 5:27 pm)
Re: If you would write git from scratch now, what would you ..., Johannes Schindelin, (Mon Nov 26, 5:40 pm)
speck-geostationary