diff options
author | Taylor Blau <me@ttaylorr.com> | 2020-04-30 15:11:28 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-30 14:18:41 -0700 |
commit | 183df649ca6f10d07a6d155761eef2d52a4f39cd (patch) | |
tree | 1bdee04ad383fe6663f82fc4548ac37c47c472eb /Documentation/RelNotes/1.9.2.txt | |
parent | shallow.c: use '{commit,rollback}_shallow_file' (diff) | |
download | tgif-183df649ca6f10d07a6d155761eef2d52a4f39cd.tar.xz |
commit: make 'commit_graft_pos' non-static
In the next patch, some functions will be moved from 'commit.c' to have
prototypes in a new 'shallow.h' and their implementations in
'shallow.c'.
Three functions in 'commit.c' use 'commit_graft_pos()' (they are
'register_commit_graft()', 'lookup_commit_graft()', and
'unregister_shallow()'). The first two of these will stay in 'commit.c',
but the latter will move to 'shallow.c', and thus needs
'commit_graft_pos' to be non-static.
Prepare for that by making 'commit_graft_pos' non-static so that it can
be called from both 'commit.c' and 'shallow.c'.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.9.2.txt')
0 files changed, 0 insertions, 0 deletions