{"thread":{"id":"7113","subject":"cogito: strange cg-switch -l behaviour","startedAt":"2007-03-06T19:53:02Z","lastAt":"2007-03-06T19:53:02Z","messageCount":1,"participants":["Johannes Walther"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"36469","messageId":"20070306195306.43645.qmail@web27814.mail.ukl.yahoo.com","threadId":"7113","inReplyTo":null,"subject":"cogito: strange cg-switch -l behaviour","fromName":"Johannes Walther","fromEmail":"joh_walt@yahoo.de","sentAt":"2007-03-06T19:53:02Z","receivedAt":"2007-03-06T19:53:02Z","isPatch":false,"sender":{"key":"joh_walt@yahoo.de","avatar":null},"body":"Hi,\n\nI currently try getting in this git thing and looked\nalso into cogito.\nI would prefer cg-switch over git-checkout because of\nthe -l (and also -p) switch that I hoped will do what\nI want.\n\nBecause pure cg-switch leads to problems with\nuncommitted local changes and quite different files in\nthe destination branch, I'd like to alias cg-switch to\ncg-switch -l.\n\nBut if -l is always set, the following happens:\n\n> master\n  Testing\n\nFile is in status of master.\n\n$ cg-switch -l Testing\nSaving local changes...\nSwitching to branch Testing...\n\n   .cg-shelve-master  \ns  master\n>  Testing\n\nFile is in status of Testing.\n\n$ cg-switch -l master\nSaving local changes...\ncg-commit: Nothing to commit\n\n   .cg-shelve-master\n>  .cg-shelve-Testing  \ns  master\ns  Testing\n\nFile is still in status of Testing.\nBut I'd expect getting my successfully saved master\nstatus back.\n\nIs that the desired behaviour?\n\nJohannes\n\n\n\n\n\t\n\t\t\n___________________________________________________________ \nDer frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de\n"}]}