jamesmunns / git_crosstag

Tool for managing tags within and outside a git repository
MIT License
1 stars 1 forks source link

Sort metadata files by something other than SHA to prevent file churn when diff-ing. #5

Open jamesmunns opened 8 years ago

jamesmunns commented 8 years ago

Requirement text might be good? but probably also susceptible to churn. Line number has the same problem.

However I would guess that items will change in the following order of frequency (most to least):

  1. SHA
  2. Requirement Text
  3. Position/Line Number
    • This might be the best, because re-orders and insertions will look similar to the actual changes to the primary file
LudwigKnuepfer commented 8 years ago
  1. is what came to my mind when reading the subject.