Thread (8 messages) flat view 8 messages, 5 authors, 2016-06-15

Re: [PATCH 1/3] make-static: master

From: Ramsay Jones <hidden>
Date: 2016-06-15 22:52:01

Junio C Hamano wrote:
Many symbols that are exported to the global scope do not have to be.

Signed-off-by: Junio C Hamano <redacted>
---
 * To be applied on top of 3793ac5 (RelNotes/1.7.7: minor fixes, 2011-09-07)
[snipped patch]

commit f34196da7b55cbf9f2651e095b6559430aff0baf (make-static: master, 11-09-2011)
in the next branch (at repo.or.cz), but *not* this patch, breaks the build on
cygwin.

The failure is caused by this part of the commit:

    diff --git a/environment.c b/environment.c
    index e96edcf..478f2afa 100644
    --- a/environment.c
    +++ b/environment.c
    @@ -147,11 +147,6 @@ int is_bare_repository(void)
            return is_bare_repository_cfg && !get_git_work_tree();
     }
    
    -int have_git_dir(void)
    -{
    -       return !!git_dir;
    -}
    -
     const char *get_git_dir(void)
     {
            if (!git_dir)

since have_git_dir() is used in compat/cygwin.c (line 117).

ATB,
Ramsay Jones
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help