Skip to contentSkip to conversation

cg-restore

DISCUSSION Nico -telmich- Schottelius 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

What I did:
------------------------
[1:25] hydrogenium:cinit% cg-restore contrib+tools/cinit.graph.text.c
git-checkout-cache: contrib+tools/cinit.graph.text.c already exists
Makefile: locally modified
contrib+tools/Makefile: locally modified contrib+tools/cinit.graph.text.c: locally modified
[1:25] hydrogenium:cinit% rm contrib+tools/cinit.graph.text.c [1:26] hydrogenium:cinit% cg-restore contrib+tools/cinit.graph.text.c
Makefile: locally modified
contrib+tools/Makefile: locally modified
[1:26] hydrogenium:cinit%
------------------------

Is this the wanted behaviour of cg-restore or should it overwrite the specified changed file?

Nico

Signature · 2 lines
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
#1 lore raw

Dear diary, on Sat, Sep 24, 2005 at 01:36:03AM CEST, I got a letter where Nico -telmich- Schottelius <[email protected]> told me that...

Quoted 14 lines

What I did:
------------------------
[1:25] hydrogenium:cinit% cg-restore contrib+tools/cinit.graph.text.c
git-checkout-cache: contrib+tools/cinit.graph.text.c already exists
Makefile: locally modified
contrib+tools/Makefile: locally modified contrib+tools/cinit.graph.text.c: locally modified
[1:25] hydrogenium:cinit% rm contrib+tools/cinit.graph.text.c [1:26] hydrogenium:cinit% cg-restore contrib+tools/cinit.graph.text.c
Makefile: locally modified
contrib+tools/Makefile: locally modified
[1:26] hydrogenium:cinit%
------------------------

Quoted 2 lines

Is this the wanted behaviour of cg-restore or should it overwrite the specified changed file?

Nope, it should overwrite it only if given the -f option. The documentation was unclear, confusing, and wrong though - I've fixed that now, thanks.

Signature · 4 lines
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.