[Mesa-dev] [PATCH] Rename api_validate.[ch] to draw_validate.[ch]

Brian Paul brianp at vmware.com
Wed Jun 5 17:23:25 PDT 2013


On 06/05/2013 03:25 PM, Kenneth Graunke wrote:
> On 06/05/2013 12:09 PM, Arnas Milasevicius wrote:
>> ---
>>   src/mesa/Makefile.sources     |   2 +-
>>   src/mesa/SConscript           |   2 +-
>>   src/mesa/main/draw_validate.c | 745
>> ++++++++++++++++++++++++++++++++++++++++++
>>   3 files changed, 747 insertions(+), 2 deletions(-)
>>   create mode 100644 src/mesa/main/draw_validate.c
>
> It looks like this patch leaves the old api_validate.c file in place, so
> we would have two copies of everything.  The proper way to do this is:
> $ cd src/mesa/main
> $ git mv api_validate.c draw_validate.c
> $ <edit Makefile.sources and SConscript>
> $ git commit -a
>
> That said...Brian, was this one of your ideas?  I don't see much point
> to renaming this file, and renaming files makes it harder to go back in
> history with git blame and such.  So unless there's a good reason, I'd
> rather leave it be.

Yes, it's from my personal Mesa to-do list.  Your point about git-blame 
is well taken so if you'd rather not have the file renamed we can leave 
it as-is.  It's just another one of those little things that I've always 
found annoying.

-Brian



More information about the mesa-dev mailing list