strange `$Id` value added in linux source files

56 Views Asked by At

I've been working with linux-5.4.21 for some time and while updating the changed files to our local git repository I found some source files have some changes that I hadn't made. It's like this. In drivers/edac/e7xxx_edac.c (compare the lines with $Id)
Before :

 *  Jim Garlick (Lawrence Livermore National Labs)
 *  Dave Peterson (Lawrence Livermore National Labs)
 *  That One Guy (Some other place)
 *  Wang Zhenyu (intel.com)
 *
 * $Id$
 *
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>

After :

 *  Jim Garlick (Lawrence Livermore National Labs)
 *  Dave Peterson (Lawrence Livermore National Labs)
 *  That One Guy (Some other place)
 *  Wang Zhenyu (intel.com)
 *
 * $Id: edac_e7xxx.c,v 1.5.2.9 2005/10/05 00:43:44 dsp_llnl Exp $
 *
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>

In drivers/net/plip/plip.c (compare the lines with $Id),

Before :

// SPDX-License-Identifier: GPL-2.0-or-later
/* $Id$ */
/* PLIP: A parallel port "network" driver for Linux. */
/* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
/*
 * Authors: Donald Becker <[email protected]>
 *      Tommy Thorn <[email protected]>

After :

// SPDX-License-Identifier: GPL-2.0-or-later
/* $Id: plip.c,v 1.3.6.2 1997/04/16 15:07:56 phil Exp $ */
/* PLIP: A parallel port "network" driver for Linux. */
/* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
/*
 * Authors: Donald Becker <[email protected]>
 *      Tommy Thorn <[email protected]>

I don't know how there automatically generated values were inserted to $Id in the source file. How are these generated and why? (I'm using arm64 toolchain)

0

There are 0 best solutions below