lkml.org 
[lkml]   [2011]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectZero-length ARM headers in git HEAD
Gents,

In the following kernel commits,

9c587c05d715ca8461342c2cb3b4a67036b5c22b
ea5abbd215b749b2ff14397a47a5e65741c67bf4
cc890cd78acd7ab03442907d354b6af34e973cb3

the file ...$platform/mach/gpio.h is replaced with an empty file. This
disagrees with kernel tradition and kernel makefiles, where zero length
files are intentionally deleted when "make distclean" is executed.

As a result, git sequences such as "make distclean ; git checkout
master" may fail, because several files are present in the index but not
on disk, making it appear as if modifications have been made:

$ git checkout master
D arch/arm/mach-lpc32xx/include/mach/gpio.h
D arch/arm/mach-tegra/include/mach/gpio.h
D arch/arm/mach-u300/include/mach/gpio.h

An update, either (a) making these files non-zero length or (b) deleting
the files in git would be appreciated. Reading the commit descriptions,
it appears (a) is the correct path?

Jeff





\
 
 \ /
  Last update: 2011-10-28 21:53    [W:0.045 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site