Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #4617
| From | Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: git-describe |
| Followup-To | comp.lang.java.programmer |
| Date | 2011-05-27 11:00 +1200 |
| Organization | Geek Central |
| Message-ID | <irmm2m$5a3$1@lust.ihug.co.nz> (permalink) |
| References | <irikq5$q0c$1@lust.ihug.co.nz> <alpine.DEB.2.00.1105261519520.19918@urchin.earth.li> |
Followups directed to: comp.lang.java.programmer
In message <alpine.DEB.2.00.1105261519520.19918@urchin.earth.li>, Tom Anderson wrote: > The problem with this is that the numbers record the sequence in which > changesets were added to the current repository - which in the presence of > commits on multiple machines (ie for any realistic development team) means > that the numbers won't be the same in different repositories. Sounds like it’s more equivalent to what you might get out of a “reflog” on Git. This is a purely personal, interim record of changes to the repository, which is never pushed/pulled as part of the repository itself, and can be purged (on demand) at any time. > Mercurial has a very slight edge here, in that as well as the hash-based > changeset IDs, it also has a sequential changeset number. As soon as I read this, I wondered what would happen to the numbering if you did the Git equivalent of committing something, then abandoning that commit (resetting that branch back to a prior commit) and making a new one. This can’t just arise from mistakes; it’s recommended in the Git docs as a handy way of saving temporary changes while working om something else. >> Exercise for the reader: what happens if you don’t specify “--tags”? > > States it as revisions from the initial checkin? Actually, no. It turns out there are two different kinds of tags, and which one is used depends on this option.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
git-describe Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-25 22:14 +1200
Re: git-describe Tom Anderson <twic@urchin.earth.li> - 2011-05-26 17:59 +0100
Re: git-describe Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 11:00 +1200
Re: git-describe Tom Anderson <twic@urchin.earth.li> - 2011-05-27 23:51 +0100
Re: git-describe Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-28 14:34 +1200
Re: git-describe Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-27 23:21 -0400
Re: git-describe Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-28 16:29 +1200
Re: git-describe Tom Anderson <twic@urchin.earth.li> - 2011-05-29 00:33 +0100
Re: git-describe Tom Anderson <twic@urchin.earth.li> - 2011-05-29 00:25 +0100
csiph-web