You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has changes staged in the index. You can call the Remove() method with removeFromWorkingDirectory=false if you want to remove it from the index only.",
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has staged content different from both the working directory and the HEAD.",
216
-
treeEntryChanges.Path);
217
-
}
218
-
if(removeFromWorkingDirectory)
219
-
{
220
-
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has local modifications. You can call the Remove() method with removeFromWorkingDirectory=false if you want to remove it from the index only.",
221
-
treeEntryChanges.Path);
222
-
}
223
-
removed.Add(treeEntryChanges.Path);
224
-
index.Remove(treeEntryChanges.Path);
225
-
continue;
226
-
227
-
default:
228
-
thrownewRemoveFromIndexException("Unable to remove file '{0}'. Its current status is '{1}'.",
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has changes staged in the index. You can call the Remove() method with removeFromWorkingDirectory=false if you want to remove it from the index only.",
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has staged content different from both the working directory and the HEAD.",
217
+
treeEntryChanges.Path);
218
+
}
219
+
if(removeFromWorkingDirectory)
220
+
{
221
+
thrownewRemoveFromIndexException("Unable to remove file '{0}', as it has local modifications. You can call the Remove() method with removeFromWorkingDirectory=false if you want to remove it from the index only.",
222
+
treeEntryChanges.Path);
223
+
}
224
+
removed.Add(treeEntryChanges.Path);
225
+
index.Remove(treeEntryChanges.Path);
226
+
continue;
227
+
228
+
default:
229
+
thrownewRemoveFromIndexException("Unable to remove file '{0}'. Its current status is '{1}'.",
0 commit comments