Browse Source

patch-tool-mxe: add ignored files to initial commit

"git add -f" allows adding otherwise ignored files.

Archives might include .gitignore files specifying files to be ignored
by git, i.e., not added to the project's repository. Since the patch
tool uses git to manage patches that may affect these "ignored" files,
they should not be excluded from the working repository created by the
patch tool.
tags/build-2019-03-04
Mark Brand 9 months ago
parent
commit
85d811fec1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      mxe.patch.mk

+ 1
- 1
mxe.patch.mk View File

@@ -25,7 +25,7 @@ define INIT_GIT
find '$(call GIT_DIR,$(1))' -name .git -prune -exec sh -c 'mv "$$0" "$$0"_' {} \;
# initialize git
$(call GIT_CMD,$(1)) init
$(call GIT_CMD,$(1)) add -A
$(call GIT_CMD,$(1)) add -A -f
$(call GIT_CMD,$(1)) commit -m "init"
$(call GIT_CMD,$(1)) tag dist
endef

Loading…
Cancel
Save