summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2014-12-12 08:57:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-22 18:13:15 (GMT)
commit3581d793351dba4e4a2f779a72f39d6ae84c1c2c (patch)
treebb185db5e70da57cc6a8491f209d3be529ae0aed /refs.h
parent31e07f76a946831265e741333a3d9e0646c793ad (diff)
downloadgit-3581d793351dba4e4a2f779a72f39d6ae84c1c2c.zip
git-3581d793351dba4e4a2f779a72f39d6ae84c1c2c.tar.gz
git-3581d793351dba4e4a2f779a72f39d6ae84c1c2c.tar.bz2
refs.c: don't expose the internal struct ref_lock in the header file
Now the struct ref_lock is used completely internally, so let's remove it from the header file. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/refs.h b/refs.h
index 28e7834..fc88ba6 100644
--- a/refs.h
+++ b/refs.h
@@ -1,15 +1,6 @@
#ifndef REFS_H
#define REFS_H
-struct ref_lock {
- char *ref_name;
- char *orig_ref_name;
- struct lock_file *lk;
- unsigned char old_sha1[20];
- int lock_fd;
- int force_write;
-};
-
/*
* A ref_transaction represents a collection of ref updates
* that should succeed or fail together.