Revision 411a1794120fa044f92ff53f41a4aa81018ed507 authored by Junio C Hamano on 24 March 2017, 19:57:53 UTC, committed by Junio C Hamano on 24 March 2017, 19:57:53 UTC
"git ls-remote" and "git archive --remote" are designed to work
without being in a directory under Git's control.  However, recent
updates revealed that we randomly look into a directory called
.git/ without actually doing necessary set-up when working in a
repository.  Stop doing so.

* jn/remote-helpers-with-git-dir:
  remote helpers: avoid blind fall-back to ".git" when setting GIT_DIR
  remote: avoid reading $GIT_DIR config in non-repo
2 parent s f3d5bbb + 4b0c3c7
Raw File
varint.h
#ifndef VARINT_H
#define VARINT_H

extern int encode_varint(uintmax_t, unsigned char *);
extern uintmax_t decode_varint(const unsigned char **);

#endif /* VARINT_H */
back to top