mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
7c5817d3ba
Use strbufs and strings instead of interned strings for values of rev, dump, and node fields that happen to be strings. After this change, the only remaining string_pool use is for paths in the repo_tree API and internals. Functional change: treat an empty author, UUID, or URL as none at all. So for example, in repos where the first revision has an empty svn:author property, the first rev will be treated as by "nobody" rather than by a person with empty name and email address created by prepending an @ sign to the repository UUID. Signed-off-by: David Barr <david.barr@cordelta.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
15 lines
471 B
C
15 lines
471 B
C
#ifndef FAST_EXPORT_H_
|
|
#define FAST_EXPORT_H_
|
|
|
|
#include "line_buffer.h"
|
|
|
|
void fast_export_delete(uint32_t depth, uint32_t *path);
|
|
void fast_export_modify(uint32_t depth, uint32_t *path, uint32_t mode,
|
|
uint32_t mark);
|
|
void fast_export_commit(uint32_t revision, const char *author, char *log,
|
|
const char *uuid, const char *url,
|
|
unsigned long timestamp);
|
|
void fast_export_blob(uint32_t mode, uint32_t mark, uint32_t len,
|
|
struct line_buffer *input);
|
|
|
|
#endif
|