[PATCH v2 04/43] refs.c: add a new refs.c file to hold all common refs code
- From
David Turner <dturner@twopensource.com>
- Date
- Sep 28, 2015, 22:01 UTC
- Message-ID
- <1443477738-32023-5-git-send-email-dturner@twopensource.com>
- In-Reply-To
- <1443477738-32023-1-git-send-email-dturner@twopensource.com>
From: Ronnie Sahlberg <sahlberg@google.com>
Create a new refs.c file that will be used to hold all the refs code that is backend agnostic and will be shared across all backends.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> --- Makefile | 1 + refs.c | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 refs.c
diff --git a/Makefile b/Makefile index 19036de..43ceab0 100644 --- a/Makefile +++ b/Makefile @@ -767,6 +767,7 @@ LIB_OBJS += reachable.o LIB_OBJS += read-cache.o LIB_OBJS += reflog-walk.o LIB_OBJS += refs-be-files.o +LIB_OBJS += refs.o LIB_OBJS += ref-filter.o LIB_OBJS += remote.o LIB_OBJS += replace_object.o diff --git a/refs.c b/refs.c new file mode 100644 index 0000000..77492ff --- /dev/null +++ b/refs.c @@ -0,0 +1,3 @@ +/* + * Common refs code for all backends. + */
-- 2.4.2.644.g97b850b-twtrsrc