The .gitattributes show this: cat .gitattributes * text=auto eol=lf
Me changing the global doesn’t help to fix it. Git still thinks I have modified this file. It seems that someone jammed in some ‘\r’ characters into this file: [cid:[email protected]] Even if I try to fix it using vim git still seems to think it has CRLF. Pam From: "Morales, Victor" <[email protected]> Date: Thursday, April 5, 2018 at 11:43 AM To: Yunxia Chen <[email protected]>, "DRAGOSH, PAMELA L (PAM)" <[email protected]>, "[email protected]" <[email protected]>, "PLATANIA, MARCO (MARCO)" <[email protected]>, Gary Wu <[email protected]> Subject: Re: [onap-discuss] [integration] Problem with integration repo More likely, those scripts were created using Windows encoding. Maybe you’ll have to configure your git (https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf#1967986)<https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_1967370_git-2Dreplacing-2Dlf-2Dwith-2Dcrlf-231967986-29&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=JU3QZ1P58JewdOulaOqnwfsVXhQnhEu34vIivlNAJBE&s=nNgHV31NYZuBv445KyQQdo_TFdvUKnkiSkYR38rxQqo&e=>. Regards, Victor Morales From: <[email protected]> on behalf of Yunxia Chen <[email protected]> Date: Thursday, April 5, 2018 at 8:21 AM To: "DRAGOSH, PAMELA L (PAM)" <[email protected]>, "[email protected]" <[email protected]>, "PLATANIA, MARCO (MARCO)" <[email protected]>, Gary Wu <[email protected]> Subject: Re: [onap-discuss] [integration] Problem with integration repo Hi, Marco & Gary, Does this have anything to do with those scripts you created? Regards, Helen Chen From: <[email protected]> on behalf of "DRAGOSH, PAMELA L (PAM)" <[email protected]> Date: Thursday, April 5, 2018 at 8:03 AM To: onap-discuss <[email protected]> Subject: [onap-discuss] [integration] Problem with integration repo Hi Integration team, I am trying to update the integration version manifest, but I am having difficulty with a particular file that seems to automatically get modified every time I do a clean clone or checkout: test/csit/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt Even when I start from scratch with a brand new clone this file is modified on a fresh clone. When I try to stash it I get this issue: warning: CRLF will be replaced by LF in test/csit/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt. The file will have its original line endings in your working directory. Saved working directory and index state WIP on master: b5529a6 Changes to match OOM refactoring HEAD is now at b5529a6 Changes to match OOM refactoring But git still thinks I have modified it, while I have not. Is the CRLF work around for this? I am working on MacOS. Thanks, Pam
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
