login
Header Space

 
 

Re: [PATCH] Hash name is SHA-1

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Cc: Junio C Hamano <junkio@...>
Date: Friday, January 26, 2007 - 7:54 am

On Thursday 2007 January 25 23:44, Junio C Hamano wrote:


FYI:

As you know I've got some patches that fix use of literal numbers for the hash 
sizes instead of SOME_CONSTANT.  I've further got one that does the same for 
the literal uses of "refs/" et al.  I'm holding off on these until after 1.5 
so as to minimise big changes.


As a further to the above cleanups, I'm also planning to fix all the sha1 
named variables to be "hash" or "object" or something.  It strikes me that 
this plan is related to this cleanup and might fix some of the issues like:


The reasons for wanting this are, I hope, obvious.  The variables (and 
parameters) accept object-names not SHA-1 hashes.   The fact that the objects 
are named after a SHA-1 isn't relevant to users; and shouldn't be relevant 
for the variable names, simply to promote abstraction from what the actual 
hash function is.

I mention it here because it seems to fit with this cleanup theme.  Am I still 
correct that you would want this sort of thing post-1.5?  Is it even a 
reasonable goal to have?


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
-
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:
Some cleanups, Horst H. von Brand, (Thu Jan 25, 8:50 am)
[PATCH] Hash name is SHA-1, Horst H. von Brand, (Thu Jan 25, 8:50 am)
Re: [PATCH] Hash name is SHA-1, Matthias Lederhofer, (Thu Jan 25, 7:03 pm)
Re: [PATCH] Hash name is SHA-1, Junio C Hamano, (Thu Jan 25, 7:44 pm)
Re: [PATCH] Hash name is SHA-1, Andy Parkins, (Fri Jan 26, 7:54 am)
Re: [PATCH] Hash name is SHA-1, Shawn O. Pearce, (Thu Jan 25, 1:01 pm)
Re: [PATCH] Hash name is SHA-1, Nicolas Pitre, (Thu Jan 25, 1:10 pm)
Re: [PATCH] Hash name is SHA-1, Horst H. von Brand, (Thu Jan 25, 2:56 pm)
Re: [PATCH] Hash name is SHA-1, Shawn O. Pearce, (Thu Jan 25, 3:05 pm)
speck-geostationary