diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-10-26 18:48:30 -0700 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-10-26 18:48:30 -0700 |
| commit | 2e6d8f181dd77d40a1148549d4f33cdf2877fb19 (patch) | |
| tree | c6b7c9245913f96d89466a5f3db58f595686dc47 /refs.h | |
| parent | 97f7a7bd0d9d618e503623ded5b22eafada9e174 (diff) | |
| parent | 694500edbd51baef365c588986abe41f01acf0de (diff) | |
| download | git-2e6d8f181dd77d40a1148549d4f33cdf2877fb19.tar.gz | |
Merge branch 'jc/reflog' into lj/refs
* jc/reflog:
sha1_name.c: avoid compilation warnings.
ref-log: allow ref@{count} syntax.
Diffstat (limited to 'refs.h')
| -rw-r--r-- | refs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ extern void unlock_ref(struct ref_lock *lock); extern int write_ref_sha1(struct ref_lock *lock, const unsigned char *sha1, const char *msg); /** Reads log for the value of ref during at_time. **/ -extern int read_ref_at(const char *ref, unsigned long at_time, unsigned char *sha1); +extern int read_ref_at(const char *ref, unsigned long at_time, int cnt, unsigned char *sha1); /** Returns 0 if target has the right format for a ref. **/ extern int check_ref_format(const char *target); |
