https://github.com/git/git
Revision 8c599c749f2f5aaf477db1327b97461f9fa3f62a authored by Shawn O. Pearce on 10 January 2007, 11:36:29 UTC, committed by Junio C Hamano on 10 January 2007, 16:26:50 UTC
The commit buffer (message of the commit) is not actually
used by the git-describe process.  We can save some memory
by not keeping it around.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent e05db0f
Raw File
Tip revision: 8c599c749f2f5aaf477db1327b97461f9fa3f62a authored by Shawn O. Pearce on 10 January 2007, 11:36:29 UTC
Don't save the commit buffer in git-describe.
Tip revision: 8c599c7
pkt-line.h
#ifndef PKTLINE_H
#define PKTLINE_H

#include "git-compat-util.h"

/*
 * Silly packetized line writing interface
 */
void packet_flush(int fd);
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));

int packet_read_line(int fd, char *buffer, unsigned size);
ssize_t safe_write(int, const void *, ssize_t);

#endif
back to top