Hello, the EVCS_OFFLINE=1 feature is always on. This is my make.conf file #These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -pipe -march=core2 -ggdb" CXXFLAGS="${CFLAGS}" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE="bluetooth apm alsa sse2 x acpi bash-completion cdda cdr dbus dvd fbcon hal ieee1394 lm_sensors modules mp3 mp4 opengl vim-syntax wifi qt3support kde qt4 semantic-desktop plasma threads xcomposite extras laptop dbus" MAKEOPTS="-j5" EMERGE_DEFAULT_OPTS="-avb --quiet-build=n" ACCEPT_KEYWORDS="~amd64" ACCEPT_LICENSE="*" FEATURES="candy parallel-fetch userfetch splitdebug" VIDEO_CARDS="nvidia" INPUT_DEVICES="evdev synaptics" LANG="el en" source /var/lib/layman/make.conf #PORTDIR and DISTDIR are setted in order git wrapper to work PORTDIR=/usr/portage DISTDIR=$PORTDIR/distfiles #treat nice to my cpu,bad portage! PORTAGE_NICENESS="15" # Needed by the Git wrapper KDE_DEVELOPER=1 # For the KDE repos GENTOO_DEVELOPER=1 # For the Gentoo repos GITHUB=1 EGIT_NONBARE=1 # This one sets the git-2 eclass to clone non-bare repos GENTOO_MIRRORS="http://files.gentoo.gr ftp://files.gentoo.gr" SYNC="rsync://rsync.gr.gentoo.org/gentoo-portage" Reproducible: Always Steps to Reproduce: 1.add EGIT_NONBARE=1 to make.conf 2.emerge =kdelibs-9999 3.cd /usr/portage/distdir/egit-src/kdelibs 4.mkdir terietor 5.emerge =kdelibs-9999 6.cd /usr/portage/distdir/egit-src/kdelibs/terietor Actual Results: the dir exists! Expected Results: the dir shouldn't exist.The git class should have deleted all the untracked files.
Created attachment 296417 [details, diff] Clean up non-bare checkout before updating. Fixes:
Please test that patch.
in which overlay should i apply the patch? The tree is in cvs,am I wrong?
(In reply to comment #3) > in which overlay should i apply the patch? > The tree is in cvs,am I wrong? Apply it to the tree. I'm using working with patches using git because it's nicer than cvs.
I don't know from cvs. I can't test the patch. sorry
(In reply to comment #5) > I don't know from cvs. > I can't test the patch. patch /usr/portage/eclass/git-2.eclass where-you-downloaded-the-patch.patch
$ sudo patch /usr/portage/eclass/git-2.eclass a.patch patching file /usr/portage/eclass/git-2.eclass Hunk #1 FAILED at 344. 1 out of 1 hunk FAILED -- saving rejects to file /usr/portage/eclass/git-2.eclass.rej patch unexpectedly ends in middle of line error :(
I tested it with vim. It works.!
Comment on attachment 296417 [details, diff] Clean up non-bare checkout before updating. This patch could result in some damage.
As it was pointed out, some people actually work on those copies and forced cleanup would destroy their work.