Re: git rid of it

From: David Hardy (dhardy_at_ks.uiuc.edu)
Date: Fri Oct 19 2018 - 15:17:49 CDT

Hi Scott,

The inclusion of the .git directory is intentional, for the benefit of people modifying the program. You can do "tar xzf NAMD_2.13b2_Source.tar.gz --exclude=.git" to avoid expanding the .git directory.

Best regards,
Dave

--
David J. Hardy, Ph.D.
Beckman Institute
University of Illinois at Urbana-Champaign
405 N. Mathews Ave., Urbana, IL 61801
dhardy_at_ks.uiuc.edu, http://www.ks.uiuc.edu/~dhardy/
> On Oct 19, 2018, at 2:21 PM, Scott Brozell <srb_at_osc.edu> wrote:
> 
> Hi,
> 
> FYI, NAMD_2.13b2_Source.tar.gz includes a .git directory:
> 
> gtar ztvf NAMD_2.13b2_Source.tar.gz
> ..
> drwxr-xr-x jim/namd          0 2018-10-16 13:18 NAMD_2.13b2_Source/
> drwxr-xr-x jim/namd          0 2018-10-16 13:18 NAMD_2.13b2_Source/.git/
> ..
> 
> You probably didn't want to do that, and it could cause problems for
> users, such as it did for my installation attempt (which houses
> scripts in a git repo):
> $ gitfetch
> remote: Counting objects: 1302, done
> remote: Finding sources: 100% (48/48)
> remote: Total 48 (delta 34), reused 44 (delta 34)
> Unpacking objects: 100% (48/48), done.
>> From https://charm.cs.illinois.edu/gerrit/namd
>   f76fbc4..c4339a4  master     -> origin/master
> ..
> 
> :)
> scott

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:21:27 CST