login
Header Space

 
 

Re: [PATCH 3/6] Define ishex(x) in git-compat-util.h

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <skimo@...>
Cc: <git@...>, Junio C Hamano <gitster@...>
Date: Saturday, July 14, 2007 - 6:18 am

Hi,

On Thu, 12 Jul 2007, skimo@liacs.nl wrote:


I'd have left GIT_ALPHA, and added GIT_HEXDIGIT.


I know, I originally proposed this.  In the mean time, however, I found 
that this gem should be even better (in terms of diff size):

#define ishex(x) (hexval(x) >= 0)

Ciao,
Dscho

-
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 2/6] export get_short_sha1, , (Thu Jul 12, 3:05 pm)
Re: [PATCH 3/6] Define ishex(x) in git-compat-util.h, Johannes Schindelin, (Sat Jul 14, 6:18 am)
[PATCH 6/6] Add git-rewrite-commits, , (Thu Jul 12, 3:06 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Sat Jul 14, 8:49 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sun Jul 15, 10:44 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Sun Jul 15, 8:38 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 4:04 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:17 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Thu Jul 19, 8:40 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 5:47 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:05 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Mon Jul 16, 6:24 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Johannes Schindelin, (Wed Jul 18, 7:02 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Wed Jul 18, 8:05 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sat Jul 14, 4:15 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Junio C Hamano, (Sat Jul 14, 3:26 pm)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Sun Jul 15, 10:07 am)
Re: [PATCH 6/6] Add git-rewrite-commits, Sven Verdoolaege, (Fri Jul 13, 4:01 am)
speck-geostationary