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 6 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
25 25
     find '$(call GIT_DIR,$(1))' -name .git -prune -exec sh -c 'mv "$$0" "$$0"_' {} \;
26 26
     # initialize git
27 27
     $(call GIT_CMD,$(1)) init
28
-    $(call GIT_CMD,$(1)) add -A
28
+    $(call GIT_CMD,$(1)) add -A -f
29 29
     $(call GIT_CMD,$(1)) commit -m "init"
30 30
     $(call GIT_CMD,$(1)) tag dist
31 31
 endef

Loading…
Cancel
Save