Skip to content
Tcl Source Code Artifact [df1238485a]
Login

Artifact [df1238485a]

Artifact df1238485aee0ec5566aa305ffc0dd6e5fb2708e6248857de97b1145f7d01b9d:

Ticket change [df1238485a] - New ticket [3947fcf7cdb97c86|3947fcf7cd] <i>Current .gitattributes settings might not allow switching branches</i>. by chrstphrchvz on 2019-08-22 14:56:38.
D 2019-08-22T14:56:38.231
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment I\srecently\scloned\sthe\sgit\smirror\s(<code>git\sclone\shttps://github.com/tcltk/tcl.git</code>)\son\sa\sLinux\smachine,\sand\sthen\stried\sto\scheckout\sa\sdifferent\sbranch.\sHowever\sthis\sseems\simpossible\sat\sfirst,\sbecause\sit\sbelieves\sthere\sare\supdated\sfiles,\seven\safter\s<code>git\sreset\s--hard\sHEAD</code>:\r\n\r\n<pre>\r\nwin/buildall.vc.bat\r\nwin/makefile.vc\r\nwin/rules-ext.vc\r\nwin/rules.vc\r\nwin/targets.vc\r\nwin/tcl.dsp\r\nwin/tcl.dsw\r\nwin/tcl.hpj.in\r\n</pre>\r\n\r\nI\sthen\stried\scombinations\sof\scommenting\sout\sthe\s<code>*\stext\seol=lf</code>\sand\s<code>*.…\stext\seol=crlf</code>\slines\sin\s.gitattributes,\ssaw\sthat\sthe\sissue\swent\saway,\sundid\smy\schanges\sto\s.gitattribues,\sand\sthe\sissue\sdid\snot\sreappear.\sSo\sI'm\snot\scertain\swhat\sthe\scause\swas.\r\n\r\nI\stried\sto\sreproduce\sthis\son\sa\sMac,\sby\spulling\sin\srecent\schanges\son\score-8-6-branch\s(I\shad\snot\sdone\sso\sin\sa\sfew\sweeks),\sand\sit\stoo\sbelieves\sthere\sare\sfiles\sthat\shave\sbeen\smodified:\r\n\r\n<pre>\r\nlibtommath/libtommath_VS2008.sln\r\nlibtommath/libtommath_VS2008.vcproj\r\nwin/makefile.vc\r\nwin/rules.vc\r\n</pre>\r\n\r\nI\sdo\snot\shave\s<code>git\sconfig\s--global\score.autocrlf</code>\sset\son\seither\smachine.\sI\swant\sto\ssay\sthis\sis\scaused\sby\s<code></code>\sin\sthe\s.gitattributes\sfile,\sbut\sam\snot\ssure,\sand\sI\sdon't\shave\sa\srecommendation\son\show\sto\sresolve\sthis.\sI\sunderstand\sthat\susing\sthe\sGitHub\smirror\s(or\susing\sgit\sat\sall)\sis\slikely\snot\sthe\spreferred\sway\sof\schecking\sout\sthe\sTcl/Tk\scode.
J foundin trunk
J is_private 0
J login chrstphrchvz
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter chrstphrchvz
J subsystem 69.\sOther
J title Current\s.gitattributes\ssettings\smight\snot\sallow\sswitching\sbranches
J type Bug
K 3947fcf7cdb97c869e4e7a265589f8a876839646
U chrstphrchvz
Z 9088a4f83efb307430556b83188cb78a