Re: Git attributes are read from head branch instead of given branch when using git archive

2017-03-09 Thread Brandon Williams
On 03/09, Aalex Gabi wrote: > Hello, > > git archive --remote="URL" branchname > branchname.tar.gz is not > reading .gitattributes file from the given branch but from HEAD. More > specifically export-ignore lines in the target branch are ignored. > > The remote is using git protocol and it's

Git attributes are read from head branch instead of given branch when using git archive

2017-03-09 Thread Aalex Gabi
Hello, git archive --remote="URL" branchname > branchname.tar.gz is not reading .gitattributes file from the given branch but from HEAD. More specifically export-ignore lines in the target branch are ignored. The remote is using git protocol and it's served by Gitlab. I use git version 2.11.0.