git: Added an option to undo unstaged changes only

This commit is contained in:
Robert Loehning
2010-07-30 19:39:55 +02:00
parent 308b462973
commit e2347b3d92
4 changed files with 42 additions and 16 deletions

View File

@@ -108,7 +108,8 @@ private slots:
void logFile();
void blameFile();
void logProject();
void undoFileChanges();
void undoFileChanges(bool revertStaging = true);
void undoUnstagedFileChanges();
void undoRepositoryChanges();
void stageFile();
void unstageFile();