Re: [PATCH] Add tests for documented features of "git reset".

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Carlos Rica <jasampler@...>
Cc: <git@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Tuesday, September 11, 2007 - 2:01 am

Carlos Rica <jasampler@gmail.com> writes:


I think what the tests try to catch are sensible, but I wonder
if this cannot be done without hardcoding too many object
names.  For example, 


this can be done without hardcoding the exact commit object name
if you tag the commits while you build the test repository and
give tag relative name in "$1" (you have to do "git rev-parse"
it).  Then you do not have to say ...


... 3ec3965 here.

I'd like to keep the very low level details of how exactly
object names are computed isolated to t0000 as much as
possible.

I also suspect this would not pass on CRLF boxes.

-
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:
Re: [PATCH] Add tests for documented features of "git reset"., Junio C Hamano, (Tue Sep 11, 2:01 am)