Date: Wed, 28 Apr 2021 20:44:24 +0200 From: Michael Gmelin <freebsd@grem.de> To: Yuri Pankov <yuripv@ftml.net> Cc: current@freebsd.org Subject: Re: git magic in contrib/bc Message-ID: <20210428204424.561a8538@bsd64.grem.de> In-Reply-To: <16d35c2c-273b-9f08-b2b3-cb3a0468bd14@ftml.net> References: <16d35c2c-273b-9f08-b2b3-cb3a0468bd14@ftml.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Apr 2021 20:00:38 +0300 Yuri Pankov <yuripv@ftml.net> wrote: > Not sure if it's just me, but I'm seeing a bit of git weirdness in > contrib/bc: I'm seeing the same here, also when doing: rm .git/index git reset git status after this, `git diff' also shows what changed in those files (basically every line). It's all whitespace characters, as `git diff -w' is empty. Turns out EOLs changed, I suspect this is due to the eol overrides in contrib/bc/.gitattributes. If I comment those out, "git diff" is silent again. Cheers, Michael > > $ cd freebsd-src > $ git status > On branch main > Your branch is up to date with 'origin/main'. > > nothing to commit, working tree clean > $ cd .. > $ cp -a freebsd-src freebsd-src-copy > $ cd freebsd-src-copy > $ git status > On branch main > Your branch is up to date with 'origin/main'. > > Changes not staged for commit: > (use "git add <file>..." to update what will be committed) > (use "git restore <file>..." to discard changes in working > directory) modified: contrib/bc/bc.vcxproj > modified: contrib/bc/bc.vcxproj.filters > modified: contrib/bc/bcl.vcxproj > modified: contrib/bc/bcl.vcxproj.filters > > no changes added to commit (use "git add" and/or "git commit -a") > > I can't figure what exactly changed in these files, diff (normal > command, not git diff) does not show any differences, they are not > symlinks. > > This happens with clean clones from git.freebsd.org, > gitrepo.freebsd.org, and github; it did not happen previously (not > sure when it started though) -- I was usually just copying the whole > tree into ~/ws/. > > Any hints? > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210428204424.561a8538>
