Re: git and time
- From
Andreas Ericsson <ae@op5.se>
- Date
- Sep 27, 2006, 08:42 UTC
- Message-ID
- <451A398C.3060800@op5.se>
- In-Reply-To
- <7vodt2nmft.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 14 quoted lines
> Matthew L Foster <mfoster167@yahoo.com> writes: > >>> PS Nit: Git doesn't work with changesets, it works with snapshots, >>> building a directed graph of snapshots. Maybe that is the source of your >>> confusion >> It's true I don't know much about git, what is the difference >> between a changeset and a snapshot? Are you saying timestamps >> should be tracked separately or tracked by an scm system built >> on top of git? Does/should git care about the when of a >> snapshot? > > I do not know what Jeff meant by snapshot vs changeset, so I > would not comment on this part. >
Me neither, but I've seen this distinction before on the mailing-list.
To my mind, a changeset is the patch that brings some form of data from one state (snapshot) to another. In this respect, git is certainly both snapshot- and changeset-based.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231