On Fri, Aug 25, 2017 at 4:52 AM, Junio C Hamano wrote:
> Nguyễn Thái Ngọc Duy writes:
>
> ... which does what?
>
> Unlike refs_for_each_ref() and friends, this does not iterate.
> It just uses the same function signature to make a single call
> of fn on the "HEAD" ref.
>
> Did I capt
Nguyễn Thái Ngọc Duy writes:
... which does what?
Unlike refs_for_each_ref() and friends, this does not iterate.
It just uses the same function signature to make a single call
of fn on the "HEAD" ref.
Did I capture what it does right?
Thanks.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
refs.c | 23 +--
refs.h | 2 ++
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/refs.c b/refs.c
index ea8e6b9f42..b3a0a24469 100644
--- a/refs.c
+++ b/refs.c
@@ -1248,27 +1248,30 @@ int refs_rename_ref_available(struct
3 matches
Mail list logo