From: Andrew C. <ac...@co...> - 2008-07-31 04:29:05
|
So now that GitMoveDeleteHook is working, I was wondering if anyone knows how to hook into Undo or where to start looking for this? Currently if I delete a file, and then undo it, git still thinks the file is staged for deletion and that there is a new untracked file in it's place. -- Drew |
From: Patrick W. <pat...@ny...> - 2008-07-31 14:21:55
|
I would inspect the Subclipse codebase. Just so you're aware there's an IUndoableOperation interface ... http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv /reference/api/org/eclipse/core/commands/operations/IUndoableOperation.html I believe there's different types of operation histories too, so good luck. > -----Original Message----- > From: git...@li... [mailto:gitclipse- > dev...@li...] On Behalf Of Andrew Case > Sent: Thursday, July 31, 2008 12:29 AM > To: gitclipse-devel > Subject: [Gitclipse-devel] Eclipse Undo > > So now that GitMoveDeleteHook is working, I was wondering if anyone > knows > how to hook into Undo or where to start looking for this? Currently if > I > delete a file, and then undo it, git still thinks the file is staged > for > deletion and that there is a new untracked file in it's place. > > -- > Drew > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gitclipse-devel mailing list > Git...@li... > https://lists.sourceforge.net/lists/listinfo/gitclipse-devel |
From: Andrew C. <ac...@co...> - 2008-07-31 15:18:16
|
Thanks I'll take a look. Not sure if we should consider this required for our initial alpha release. Of course it will be extremely bothersome to people if "undo/redo" doesn't work as expected, but I don't know if it should hold us up getting out of the door. I'll see what I can get done on it by Tuesday though. If anyone else wants to take a look at it as well, you're more than welcome too. Gitclipsers: Can put the final "stopper" bugs they're working on up on the sourceforge bug-tracker (to make us look like we're an active project). Thanks, -- Drew On Thu, 31 Jul 2008, Patrick Winters wrote: > I would inspect the Subclipse codebase. > Just so you're aware there's an IUndoableOperation interface ... > http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv > /reference/api/org/eclipse/core/commands/operations/IUndoableOperation.html > > I believe there's different types of operation histories too, so good luck. > >> -----Original Message----- >> From: git...@li... [mailto:gitclipse- >> dev...@li...] On Behalf Of Andrew Case >> Sent: Thursday, July 31, 2008 12:29 AM >> To: gitclipse-devel >> Subject: [Gitclipse-devel] Eclipse Undo >> >> So now that GitMoveDeleteHook is working, I was wondering if anyone >> knows >> how to hook into Undo or where to start looking for this? Currently if >> I >> delete a file, and then undo it, git still thinks the file is staged >> for >> deletion and that there is a new untracked file in it's place. >> >> -- >> Drew >> >> ----------------------------------------------------------------------- >> -- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gitclipse-devel mailing list >> Git...@li... >> https://lists.sourceforge.net/lists/listinfo/gitclipse-devel > > |
From: Andrew C. <ac...@co...> - 2008-07-31 15:44:26
|
Should have read: Can you put the final stopper bugs you're working on up.... Thanks, -- Drew > Gitclipsers: > > Can put the final "stopper" bugs they're working on up on the sourceforge > bug-tracker (to make us look like we're an active project). > > Thanks, > > -- > Drew > > > On Thu, 31 Jul 2008, Patrick Winters wrote: > >> I would inspect the Subclipse codebase. >> Just so you're aware there's an IUndoableOperation interface ... >> http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv >> /reference/api/org/eclipse/core/commands/operations/IUndoableOperation.html >> >> I believe there's different types of operation histories too, so good luck. >> >>> -----Original Message----- >>> From: git...@li... [mailto:gitclipse- >>> dev...@li...] On Behalf Of Andrew Case >>> Sent: Thursday, July 31, 2008 12:29 AM >>> To: gitclipse-devel >>> Subject: [Gitclipse-devel] Eclipse Undo >>> >>> So now that GitMoveDeleteHook is working, I was wondering if anyone >>> knows >>> how to hook into Undo or where to start looking for this? Currently if >>> I >>> delete a file, and then undo it, git still thinks the file is staged >>> for >>> deletion and that there is a new untracked file in it's place. >>> >>> -- >>> Drew >>> >>> ----------------------------------------------------------------------- >>> -- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Gitclipse-devel mailing list >>> Git...@li... >>> https://lists.sourceforge.net/lists/listinfo/gitclipse-devel >> >> > |