[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: d-i git repo: sample conversion

Joey Hess wrote:
> Remove $Id$ keywords from all files that have them; git doesn't
> support that. (Do after conversion)

git supports $Id$; you just have to explicitly request it, as you do
with svn (using svn:keywords).  Quoting the gitattributes(5) manpage:
>       ident
>           When the attribute ident is set for a path, git replaces
>           $Id$ in the blob object with $Id:, followed by the
>           40-character hexadecimal blob object name, followed by a
>           dollar sign $ upon checkout. Any byte sequence that begins
>           with $Id: and ends with $ in the worktree file is replaced
>           with $Id$ upon check-in.

- Josh Triplett

Reply to: