Re: [PATCH] Fix type-punning issues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dan McGee
Date: Monday, May 18, 2009 - 9:32 pm

On Tue, May 12, 2009 at 2:57 AM, Junio C Hamano <gitster@pobox.com> wrote:


(argh: sorry Junio for sending the last reply to just you)

So due to me taking so long to resubmit, I see you committed a
stripped-down version of my patch. I had a patch just like this (minus
one newline diff), but it was in a series of 4 I will submit in just a
second.

The three remaining patches implement the above suggestion of having
one canonical "hash" function. However, the name changes to hash_char
and takes a unsigned char pointer rather than a struct object pointer
so we can use the same function for both insertion into the hashes as
well as lookup.

Looking forward to any feedback.

-Dan
--
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:
[PATCH] Fix type-punning issues, Dan McGee, (Mon May 11, 6:17 pm)
Re: [PATCH] Fix type-punning issues, Junio C Hamano, (Tue May 12, 12:57 am)
Re: [PATCH] Fix type-punning issues, Johannes Schindelin, (Tue May 12, 1:13 am)
Re: [PATCH] Fix type-punning issues, Dan McGee, (Mon May 18, 9:32 pm)
[PATCH 1/3] Unify signedness in hashing calls, Dan McGee, (Mon May 18, 9:34 pm)
[PATCH 3/3] Unify sha1 char hash functions, Dan McGee, (Mon May 18, 9:34 pm)