Re: [StGit] what happened to stg diff -r /{bottom|top}?

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

 



2008/12/5 Dan Williams <dan.j.williams@xxxxxxxxx>:
> I noticed that with the latest StGit:
> # stg diff -r /bottom
> stg diff: /bottom: Unknown patch or revision name
>
> Before I bisect to find where this disappeared, is there a different syntax
> I should be using?

In the development (master) branch, we changed the syntax to make it
cleaner. A patch (its top) can be identified as [<branch>:]<patch>. It
also supports standard Git suffixes like ^, ~{...} etc. To access the
bottom of a patch, just use [<branch>:]<patch>^.

The bottom of the top patch could be accessed as HEAD^ (I've been
thinking about only allowing the caret for this, without the HEAD but
I didn't have time to try it).

-- 
Catalin
--
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