Re: [PATCH/RFC] Add [] as an alias for a reference to the empty tree

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Nieder
Date: Saturday, May 8, 2010 - 9:07 am

Junio C Hamano wrote:


I suspect the goal was to use a tool such as checkpatch, or
get_maintainer without -f.  An implementation using git archive should
still work (with the help of a tar diff-ing program with the EMPTY
feature ;-)), but as UI that might be less discoverable than building
it into git diff.

Personally, I liked both the

  git diff $(</dev/null git hash-object -t tree --stdin) $rev

and

  git diff --root $rev

suggestions.  That may be from a warped sense of aesthetics.

Cheers,
Jonathan
--
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/RFC] Add [] as an alias for a reference to the empt ..., Peter Kjellerstedt, (Fri May 7, 9:37 am)
Re: [PATCH/RFC] Add [] as an alias for a reference to the ..., Jonathan Nieder, (Sat May 8, 9:07 am)
RE: [PATCH/RFC] Add [] as an alias for a reference to the ..., Peter Kjellerstedt, (Mon May 10, 1:14 am)
Re: [PATCH/RFC] Add [] as an alias for a reference to the ..., Sverre Rabbelier, (Mon May 10, 2:51 am)
Re: [PATCH/RFC] Add [] as an alias for a reference to the ..., Sverre Rabbelier, (Mon May 10, 4:00 am)