[gitg/wip/actions: 13/26] Add clearing repository refs cache
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/actions: 13/26] Add clearing repository refs cache
- Date: Sat, 12 Jul 2014 08:56:38 +0000 (UTC)
commit 456da855b2e404aa6de9b65f5714cc8880a0024d
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Jan 19 19:16:39 2014 +0100
Add clearing repository refs cache
libgitg/gitg-repository.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-repository.vala b/libgitg/gitg-repository.vala
index 150725a..07198f7 100644
--- a/libgitg/gitg-repository.vala
+++ b/libgitg/gitg-repository.vala
@@ -64,6 +64,11 @@ public class Repository : Ggit.Repository
}
}
+ public void clear_refs_cache()
+ {
+ d_refs = null;
+ }
+
private void ensure_refs()
{
if (d_refs != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]