Browse files

Fixed TISTUD-5151: do not throw the error while refreshing git index.

  • Loading branch information...
1 parent 2b3a743 commit d1183eb0de330acb9e6cdebc3a7504e13892f633 Michael Xia committed Sep 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/com.aptana.git.core/src/com/aptana/git/core/model/GitIndex.java
View
4 plugins/com.aptana.git.core/src/com/aptana/git/core/model/GitIndex.java
@@ -167,8 +167,8 @@ public String map(IPath location)
}
if (!result.isOK())
{
- return new Status(IStatus.ERROR, GitPlugin.getPluginId(),
- "Unable to run update-index: " + result.getMessage()); //$NON-NLS-1$
+ IdeLog.logError(GitPlugin.getDefault(), "Unable to run update-index: " + result.getMessage()); //$NON-NLS-1$
+ return result;
}
Set<Callable<IStatus>> jobs = new HashSet<Callable<IStatus>>(3);

0 comments on commit d1183eb

Please sign in to comment.