git-wad

Manage files via git but not their content
git clone git://git.meso-star.fr/git-wad.git
Log | Files | Refs | README | LICENSE

commit 499e228ea26674fbada3241683f5df4d36be0fad
parent e65a9b161a604dd763faa4c3a47a21b60deb450f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  1 May 2024 16:57:26 +0200

Correct definition of GIT_WAD_OBJDIR variable

It must be defined in relation to the root of the working tree.
Otherwise, the push subcommand fails to download files when executed
from a subdirectory.

Diffstat:
Mgit-wad | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-wad b/git-wad @@ -26,7 +26,7 @@ if [ -f "${config_file}" ]; then fi GIT_WAD_HEADER="#\$# git-wad" -GIT_WAD_OBJDIR=".git/wad" +GIT_WAD_OBJDIR="${working_tree}/.git/wad" [ -z "${GIT_WAD_VERBOSE}" ] && GIT_WAD_VERBOSE=0