diff options
author | Mike Burns <mike@mike-burns.com> | 2013-07-12 23:38:19 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2013-07-12 23:44:16 +0200 |
commit | 3adcb218cbb42026bc0ef906b219f0e1888220cd (patch) | |
tree | 33a459b9749bc4cfa44712345c1e1be560b7cce9 /share | |
parent | c5ae3e947a891975a2f8edee5a8349a2f46e45b9 (diff) |
Hide duplicates
With multiple source directories it is possible to have duplicates.
Consider these source directories, `a` and `b`:
|-- a
| |-- bar
| `-- foo
`-- b
|-- baz
`-- foo
The goal is to have this:
.bar -> a/bar
.baz -> b/baz
.foo -> a/foo
Note the duplcate `foo` file.
We now handle this, in `lsrc` and therefore in `rcup`. We do this by
storing a `:`-separated string of destination files (e.g. `.foo`) and
`grep`ing that string before we operate on any destination.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions