From: Bert Wesarg Date: Mon, 06 Dec 2010 21:28:12 GMT Subject: Re: [PATCH/RFC] git-gui: disable (un)staging for files with typechange flags Message-ID: In-Reply-To: On Fri, Dec 3, 2010 at 14:34, Bert Wesarg wrote: > [ Adding Gustaf Hendeby, the author of the first patch to support type changes ] > > On Tue, Nov 30, 2010 at 23:21, Bert Wesarg wrote: >> This covers also the case for newly added files in the index. Like this: >> >>    echo bar >foo >>    git add foo >>    rm foo >>    ln -s bar foo >> >> This will result in an state of AT. And for cases where the type change is >> staged, and the new type was modified after the staging. Like this (cont.): >> >>    git add foo >>    git commit -mfoo >>    rm foo >>    echo bar >foo >>    git add foo >>    echo baz >foo >> >> Will result in an state of TM for foo. This patch is incomplete. There are more places where the new AT and TM states needs to be handled. Please wait for a re-roll. Bert