Overview
| Artifact ID: | df1238485aee0ec5566aa305ffc0dd6e5fb2708e6248857de97b1145f7d01b9d |
|---|---|
| Ticket: | 3947fcf7cdb97c869e4e7a265589f8a876839646
Current .gitattributes settings might not allow switching branches |
| User & Date: | chrstphrchvz on 2019-08-22 14:56:38 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
I recently cloned the git mirror (<code>git clone https://github.com/tcltk/tcl.git</code>) on a Linux machine, and then tried to checkout a different branch. However this seems impossible at first, because it believes there are updated files, even after <code>git reset --hard HEAD</code>: <pre> win/buildall.vc.bat win/makefile.vc win/rules-ext.vc win/rules.vc win/targets.vc win/tcl.dsp win/tcl.dsw win/tcl.hpj.in </pre> I then tried combinations of commenting out the <code>* text eol=lf</code> and <code>*.… text eol=crlf</code> lines in .gitattributes, saw that the issue went away, undid my changes to .gitattribues, and the issue did not reappear. So I'm not certain what the cause was. I tried to reproduce this on a Mac, by pulling in recent changes on core-8-6-branch (I had not done so in a few weeks), and it too believes there are files that have been modified: <pre> libtommath/libtommath_VS2008.sln libtommath/libtommath_VS2008.vcproj win/makefile.vc win/rules.vc </pre> I do not have <code>git config --global core.autocrlf</code> set on either machine. I want to say this is caused by <code></code> in the .gitattributes file, but am not sure, and I don't have a recommendation on how to resolve this. I understand that using the GitHub mirror (or using git at all) is likely not the preferred way of checking out the Tcl/Tk code.
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "69. Other"
- title changed to:
Current .gitattributes settings might not allow switching branches
- type changed to: "Bug"