projects
/
platform
/
upstream
/
augeas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.0
[platform/upstream/augeas.git]
/
src
/
transform.c
diff --git
a/src/transform.c
b/src/transform.c
index
1f80134
..
5423ba1
100644
(file)
--- a/
src/transform.c
+++ b/
src/transform.c
@@
-540,6
+540,7
@@
static void tree_freplace(struct augeas *aug, const char *fpath,
parent = tree_fpath_cr(aug, fpath);
ERR_RET(aug);
+ parent->file = true;
tree_unlink_children(aug, parent);
list_append(parent->children, sub);
list_for_each(s, sub) {