Wireshark mailing list archives

Re: GIT tutorials


From: Hadriel Kaplan <hadriel.kaplan () oracle com>
Date: Tue, 11 Mar 2014 19:12:49 -0400


On Mar 11, 2014, at 6:42 PM, Gerald Combs <gerald () wireshark org> wrote:

Would `git describe` suit your needs?

$ git describe
v1.11.3-rc1-1917-gd3b8084

The current tag is v1.11.3-rc1. There are 1917 commits between
v1.11.3-rc1 and gd3b8084.

$ git describe --match v1.11.0-rc1
v1.11.0-rc1-5874-gd3b8084

There have been 5874 commits since v1.11.0-rc1 was tagged.

Yup.

Any way we could have the "v1.11.0-rc1-1917" portion automatically put into the gerrit review once it's been 
cherry-picked into master/master-x.x?

Like if a script is currently generating the "Change has been successfully cherry-picked as ..." message, then have it 
append the 'git describe' output to that message?

-hadriel

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: