Package org.nbgit

Examples of org.nbgit.StatusCache.refreshCached()


        File repository = GitUtils.getRootFile(context);
        if (repository == null) {
            return;
        }
        StatusCache cache = Git.getInstance().getStatusCache();
        cache.refreshCached(context);

        for (File root : context.getRootFiles()) {
            if (isCanceled()) {
                return;
            }
View Full Code Here


        if (Git.getInstance().isAdministrative(file)) {
            return;
        }
        StatusCache cache = Git.getInstance().getStatusCache();

        cache.refreshCached(file);
        File repository = Git.getInstance().getTopmostManagedParent(file);
        if (repository == null) {
            return;
        }
        if (file.isDirectory()) {
View Full Code Here

                        "MSG_COMMIT_INIT_SEP", commitCandidates, prjName));
            }
        } catch (Exception ex) {
            notifyLater(ex);
        } finally {
            cache.refreshCached(ctx);
            logger.outputInRed(NbBundle.getMessage(CommitAction.class, "MSG_COMMIT_DONE")); // NOI18N
            logger.output(""); // NOI18N
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.