Introduction
Introduction Statistics Contact Development Disclaimer Help
tdetect filetype changes in diff (for example a normal file to symlink) - stagi…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit c100c3cc30dd948c881abd96720ca4fb2ddbb82f
parent 84bb2212e86c54f67dc18cf803bd2ac6edf24804
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 18 Nov 2018 18:06:41 +0100
detect filetype changes in diff (for example a normal file to symlink)
Diffstat:
M stagit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -114,7 +114,9 @@ commitinfo_getstats(struct commitinfo *ci)
}
git_diff_init_options(&opts, GIT_DIFF_OPTIONS_VERSION);
- opts.flags |= GIT_DIFF_DISABLE_PATHSPEC_MATCH;
+ opts.flags |= GIT_DIFF_DISABLE_PATHSPEC_MATCH |
+ GIT_DIFF_IGNORE_SUBMODULES |
+ GIT_DIFF_INCLUDE_TYPECHANGE;
if (git_diff_tree_to_tree(&(ci->diff), repo, ci->parent_tree, ci->comm…
goto err;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.