Changes between Version 4 and Version 5 of commit-identifiers


Ignore:
Timestamp:
Oct 13, 2020 5:16:57 PM (4 years ago)
Author:
Jonathan Bedard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • commit-identifiers

    v4 v5  
    3636
    3737The biggest drawback of this scheme is that it relies pretty heavily on the default branch always remaining the default branch (even if it starts to be known by a different alias). To use the above example, if one decided that branch-b was to be the default, the historical identifier scheme would be broken. If we wanted to retain the ability to make a new branch the default branch, we could have identifiers from all branches count from the very first commit on the default branch, but this will come at the cost of making a branch’s deviation point from the default branch much less obvious. Because Subversion already applies a similar restriction on ’trunk’, we believe that making the branch point from the default branch clear is more important that the ability to switch which branch is the default branch.
     38
     39
     40
     41As of r268433 (or if you prefer, 230428@trunk), the script git-webkit has landed which introduces basic support for identifiers:
     42{{{
     43% git-webkit find
     44Title: [webkitscmpy] Add `git-webkit find`
     45Author: jbedard@apple.com <jbedard@apple.com>
     46Identifier: 230428@trunk
     47Date: Tue Oct 13 09:53:34 2020
     48Revision: 268433
     49}}}