Re: Diff-tree does not work for initial commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 15, 2008 at 22:49, Michael J Gruber
<git@xxxxxxxxxxxxxxxxxxxx> wrote:
> diff-tree is plumbing. Would this change break anything?

Some of my code uses "git rev-parse" on "HEAD^" to see if a commit has
a parent; I wouldn't be surprised if someone else has a script that
uses "git diff-tree" or such for that purpose, or at least assumes
that for a root commit it will complain. Anyway, as Junio said, for
"diff-tree" you can use the "--root" option. A better RFE would
perhaps be that "--root" be supported in more places.

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux