diff options
author | Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com> | 2019-02-26 00:16:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-01 00:03:46 +0100 |
commit | f5116f43f69720059375059311485d99c462551b (patch) | |
tree | c6568906ccd64e06db803295ab9b788d3e8a6fa1 /strbuf.h | |
parent | Merge branch 'sd/stash-wo-user-name' (diff) | |
download | git-f5116f43f69720059375059311485d99c462551b.tar.xz git-f5116f43f69720059375059311485d99c462551b.zip |
sha1-name.c: add `get_oidf()` which acts like `get_oid()`
Compared to `get_oid()`, `get_oidf()` has as parameters
a pointer to `object_id`, a printf format string and
additional arguments. This will help simplify the code
in subsequent commits.
Original-idea-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions