aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Fürstenberg <azatoth@gmail.com>2011-03-17 19:50:53 +0100
committerCarl Fürstenberg <azatoth@gmail.com>2011-03-17 19:50:53 +0100
commita2faed347de389d6f667a4e98576398db88d1a14 (patch)
tree13cf74ca96de0f039eb8eebaca716287e34e9ac6
parent0cf336d2c95809ef41d94131e629fd1767f054a0 (diff)
downloadjquery-a2faed347de389d6f667a4e98576398db88d1a14.tar.gz
jquery-a2faed347de389d6f667a4e98576398db88d1a14.zip
Merge when updating submodules on make
When running make, the submodule update will remove all local changes. Adding flag --rebase or --merge does solve the issue. rebase will probably make it cleaner, but it might stop on conflict, thus --merge will result in fewer (probably none).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 84816a19e..525d3a197 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ ${DIST_DIR}:
@@mkdir -p ${DIST_DIR}
init:
- @@if [ -d .git ]; then git submodule update --init --recursive; fi
+ @@if [ -d .git ]; then git submodule update --init --recursive --merge; fi
jquery: init ${JQ}
jq: init ${JQ}