[gitg/wip/actions] Add clearing repository refs cache
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/actions] Add clearing repository refs cache
- Date: Mon, 20 Jan 2014 12:08:28 +0000 (UTC)
commit ddafb9943badd666fd9513c837687a722f4d20f9
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]