git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cogito: strange cg-switch -l behaviour
@ 2007-03-06 19:53 Johannes Walther
  0 siblings, 0 replies; only message in thread
From: Johannes Walther @ 2007-03-06 19:53 UTC (permalink / raw)
  To: git

Hi,

I currently try getting in this git thing and looked
also into cogito.
I would prefer cg-switch over git-checkout because of
the -l (and also -p) switch that I hoped will do what
I want.

Because pure cg-switch leads to problems with
uncommitted local changes and quite different files in
the destination branch, I'd like to alias cg-switch to
cg-switch -l.

But if -l is always set, the following happens:

> master
  Testing

File is in status of master.

$ cg-switch -l Testing
Saving local changes...
Switching to branch Testing...

   .cg-shelve-master  
s  master
>  Testing

File is in status of Testing.

$ cg-switch -l master
Saving local changes...
cg-commit: Nothing to commit

   .cg-shelve-master
>  .cg-shelve-Testing  
s  master
s  Testing

File is still in status of Testing.
But I'd expect getting my successfully saved master
status back.

Is that the desired behaviour?

Johannes




	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-06 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 19:53 cogito: strange cg-switch -l behaviour Johannes Walther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).