[gitg/wip/actions: 54/61] Add clearing repository refs cache
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/actions: 54/61] Add clearing repository refs cache
- Date: Wed, 11 Jun 2014 17:13:19 +0000 (UTC)
commit deb3a20442cbacb86581fde0706809d4a34e4581
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 3d6e2f1..907bd9b 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]