Summary: | git-2.eclass doesn't clean up non-bare copies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Giorgos Tsiapaliwkas <terietor> |
Component: | Eclasses | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED CANTFIX | ||
Severity: | major | CC: | dberkholz, terietor |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Clean up non-bare checkout before updating. |
Description
Giorgos Tsiapaliwkas
2011-12-19 08:19:16 UTC
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. |