Expand description
a filter to replace $Id$ with a git-hash of the buffer.
Modules§
Functions§
- apply
- Substitute all occurrences of
$Id$with$Id: <hexsha-of-input>$if present insrcand write all changes tobuf, withobject_hashbeing used accordingly. Returntrueifbufwas written to orfalseif no change was made (as there was nothing to do). - undo
- Undo identifiers like
$Id:<hexsha>$to$Id$insrcand write tobuf. Newlines between dollars are ignored. Returntrueifbufwas written orfalseifsrcwas left unaltered (as there was nothing to do).