Skip to content

misc cleanups to path functions

Ramsay Jones git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5path.c: Remove the 'git_' prefix from a file scope functionpath.c+3 -30 replies
1/5msvc: Fix compilation errors caused by poll.h emulationcompat/vcbuild/include/sys/poll.h git-compat-util.h+3 -13 replies
1/5compat/bswap.h: Fix build on cygwin, MinGW and msvccompat/bswap.h+68 -292 replies
2/5path.c: Don't discard the return value of vsnpath()path.c+6 -52 replies
2/5msvc: git-daemon: Fix linker "unresolved external" errorsconfig.mak.uname+2 -00 replies
2/5Makefile: Add object files in ewah/ to clean targetMakefile+3 -20 replies
3/5path.c: Use vsnpath() in the implementation of git_path()path.c+3 -122 replies
3/5msvc: Fix build by adding missing symbol definescompat/vcbuild/include/unistd.h+3 -00 replies
3/5khash.h: Spell the null pointer as NULLkhash.h+1 -10 replies
4/5Call git_pathdup() rather than xstrdup(git_path("..."))bisect.c builtin/add.c+3 -20 replies
4/5msvc: test-svn-fe: Fix linker "unresolved external" errorcompat/msvc.h config.mak.uname test-svn-fe.c+3 -20 replies
4/5pack-objects: Limit visibility of 'indexed_commits' symbolsbuiltin/pack-objects.c+3 -30 replies
5/5Call mkpathdup() rather than xstrdup(mkpath(...))builtin/branch.c builtin/clone.c builtin/prune.c +1 more+11 -100 replies
5/5msvc: avoid collisions between "tags" and "TAGS"config.mak.uname+1 -00 replies
5/5ewah_bitmap.c: Fix printf format warnings on MinGWewah/ewah_bitmap.c+4 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] fix up 'jk/pack-bitmap' branch

Hi Jeff,

These patches fix various errors/warnings on the cygwin, MinGW and msvc builds, provoked by the jk/pack-bitmap branch.

Note that this does not fix all problems on the msvc build; I have a solution, but I don't like it. :-D So, I'm going to try a different fix. I had hoped to have done this by now, but ... (hopefully, sometime this weekend).

Note that I have only tested the cygwin and MinGW builds by running the t5310-pack-bitmaps.sh test, and only on a little-endian machine. (Torsten has tested the first patch on a big-endian)

Note also, that these patches are build on top of the 'pu' branch as of yesterday (pu @ 2b65d9ebc).

So, could you please squash these patches into the relevant commits on your branch.

Thanks!

ATB,
Ramsay Jones

Ramsay Jones (5):
compat/bswap.h: Fix build on cygwin, MinGW and msvc
Makefile: Add object files in ewah/ to clean target khash.h: Spell the null pointer as NULL
pack-objects: Limit visibility of 'indexed_commits' symbols ewah_bitmap.c: Fix printf format warnings on MinGW

 Makefile               |  5 +--
 builtin/pack-objects.c |  6 ++--
 compat/bswap.h         | 97 +++++++++++++++++++++++++++++++++++---------------
 ewah/ewah_bitmap.c     |  6 ++--
 khash.h                |  2 +-
 5 files changed, 79 insertions(+), 37 deletions(-)
Signature · 1 line
1.8.4