I am writing a porting tool to convert old Borland StarTeam repositories to git. Sometimes, though, several revisions (StarTeams counterpart to a commit in git) are identical, except for their labels.
Each revision should map to a single commit, which seems not to be possible in git, when no files differ between two adjacent commits. Currently I see two options getting this done:
- Write all revision labels into a single commit's message. Not the way my boss wants it to be.
- Create and change a dummy file, showing git something has changed. Not the nice way.
Is there any other, more elegant solution?