{"thread":{"id":"29400","subject":"[BUG ?] completion of stash name with git stash","startedAt":"2012-01-19T13:21:53Z","lastAt":"2012-01-23T08:36:28Z","messageCount":5,"participants":["Mathieu CLAVEL","Thomas Rast"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"182785","messageId":"loom.20120119T141601-606@post.gmane.org","threadId":"29400","inReplyTo":null,"subject":"[BUG ?] completion of stash name with git stash","fromName":"Mathieu CLAVEL","fromEmail":"math.clavel@gmail.com","sentAt":"2012-01-19T13:21:53Z","receivedAt":"2012-01-19T13:21:53Z","isPatch":false,"sender":{"key":"math.clavel@gmail.com","avatar":null},"body":"Hello,\n\nI first posted that message on the group for msysgit [1].\n\n====\n\nI'm using mysgit 1.7.8 on XP.\n\nI think the stash name completion has a problem.\nI don't know if it's a problem from my system, mysgit or git.\n\nHere are the steps to reproduce (you need to have at least 2 stashed commits).\n'+ tab =>' means using the tab to autocomplete the current command. Left part is\nbefore completion, right tab is after completion.\n\n$ git stash list\nstash@{0}: WIP on feature/preservation_offres: 7f2c9a8 import.cmd : import par\nlot de 10.000 contrats\nstash@{1}: WIP on feature/echeancier: ddb7bb0 Mockito : 1.8.5 -> 1.9.0\n\n$ git stash drop '+ tab =>' $ git stash drop stash@{\n\n$ git stash drop stash@{0 '+ tab =>' $ git stash drop stashstash@{0}\n\nI don't know if it's relevant, but I also have 'git flow' and 'git flow\ncompletion' installed, and as said in a previous thread, 'git flow completion'\nisn't working with alias [2].\n\n====\n\nRegards,\n\nMathieu CLAVEL\n\n[1] https://groups.google.com/d/topic/msysgit/AgGY7wl8IJQ/discussion\n[2] https://groups.google.com/d/msg/msysgit/UnBHlY9eAK0/JfdH7q2hcsAJ\n"},{"id":"182793","messageId":"87lip3mzsz.fsf@thomas.inf.ethz.ch","threadId":"29400","inReplyTo":"loom.20120119T141601-606@post.gmane.org","subject":"Re: [BUG ?] completion of stash name with git stash","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2012-01-19T16:18:04Z","receivedAt":"2012-01-19T16:18:04Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Mathieu CLAVEL <math.clavel@gmail.com> writes:\n\n> I'm using mysgit 1.7.8 on XP.\n>\n> I think the stash name completion has a problem.\n> I don't know if it's a problem from my system, mysgit or git.\n>\n> Here are the steps to reproduce (you need to have at least 2 stashed commits).\n> '+ tab =>' means using the tab to autocomplete the current command. Left part is\n> before completion, right tab is after completion.\n>\n> $ git stash list\n> stash@{0}: WIP on feature/preservation_offres: 7f2c9a8 import.cmd : import par\n> lot de 10.000 contrats\n> stash@{1}: WIP on feature/echeancier: ddb7bb0 Mockito : 1.8.5 -> 1.9.0\n>\n> $ git stash drop '+ tab =>' $ git stash drop stash@{\n>\n> $ git stash drop stash@{0 '+ tab =>' $ git stash drop stashstash@{0}\n>\n> I don't know if it's relevant, but I also have 'git flow' and 'git flow\n> completion' installed, and as said in a previous thread, 'git flow completion'\n> isn't working with alias [2].\n\nThis works for me using git completion as shipped with v1.7.9-rc2 and\nbash 4.2.10.  Double-tabbing at 'git stash drop ' prints a list of\nstashes as expected.  Which bash version are you using?\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"},{"id":"182794","messageId":"loom.20120119T172954-563@post.gmane.org","threadId":"29400","inReplyTo":"87lip3mzsz.fsf@thomas.inf.ethz.ch","subject":"Re: [BUG ?] completion of stash name with git stash","fromName":"Mathieu CLAVEL","fromEmail":"math.clavel@gmail.com","sentAt":"2012-01-19T16:34:05Z","receivedAt":"2012-01-19T16:34:05Z","isPatch":false,"sender":{"key":"math.clavel@gmail.com","avatar":null},"body":"Thomas Rast <trast <at> student.ethz.ch> writes:\n\n> This works for me using git completion as shipped with v1.7.9-rc2 and\n> bash 4.2.10.  Double-tabbing at 'git stash drop ' prints a list of\n> stashes as expected.  Which bash version are you using?\n\n\n$ bash --version\nGNU bash, version 3.1.0(1)-release (i686-pc-msys)\nCopyright (C) 2005 Free Software Foundation, Inc.\n\nIt's the version ship with the last version of msysGit.\nI'm not sure I can update bash on Windows without any risk to break something.\nSo, do you think it's coming from the bash version ?\n"},{"id":"182797","messageId":"87obtzlfuv.fsf@thomas.inf.ethz.ch","threadId":"29400","inReplyTo":"loom.20120119T172954-563@post.gmane.org","subject":"Re: [BUG ?] completion of stash name with git stash","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2012-01-19T18:14:16Z","receivedAt":"2012-01-19T18:14:16Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Mathieu CLAVEL <math.clavel@gmail.com> writes:\n\n> Thomas Rast <trast <at> student.ethz.ch> writes:\n>\n>> This works for me using git completion as shipped with v1.7.9-rc2 and\n>> bash 4.2.10.  Double-tabbing at 'git stash drop ' prints a list of\n>> stashes as expected.  Which bash version are you using?\n>\n>\n> $ bash --version\n> GNU bash, version 3.1.0(1)-release (i686-pc-msys)\n> Copyright (C) 2005 Free Software Foundation, Inc.\n>\n> It's the version ship with the last version of msysGit.\n> I'm not sure I can update bash on Windows without any risk to break something.\n> So, do you think it's coming from the bash version ?\n\nIndeed, I compiled bash 3.1 and with that (and otherwise the same bashrc\netc.) I can reproduce.  Ditto for 4.0-rc1, which was the newest version\nin the repository where I found the bash source[1], so I couldn't\nbisect.  Perhaps if you can hunt down something newer you could try to\nfind the version where it starts working.\n\n\n\n[1] git://gitorious.org/bash/bash.git\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"},{"id":"182953","messageId":"loom.20120123T093453-132@post.gmane.org","threadId":"29400","inReplyTo":"87obtzlfuv.fsf@thomas.inf.ethz.ch","subject":"Re: [BUG ?] completion of stash name with git stash","fromName":"Mathieu CLAVEL","fromEmail":"math.clavel@gmail.com","sentAt":"2012-01-23T08:36:28Z","receivedAt":"2012-01-23T08:36:28Z","isPatch":false,"sender":{"key":"math.clavel@gmail.com","avatar":null},"body":"Thomas Rast <trast <at> student.ethz.ch> writes:\n\n\n> Indeed, I compiled bash 3.1 and with that (and otherwise the same bashrc\n> etc.) I can reproduce.  Ditto for 4.0-rc1, which was the newest version\n> in the repository where I found the bash source[1], so I couldn't\n> bisect.  Perhaps if you can hunt down something newer you could try to\n> find the version where it starts working.\n> \n> [1] git://gitorious.org/bash/bash.git\n> \n\nThanks, so it's not a git issue, but a problm with the bash version.\n\nRegards,\n\nMathieu\n"}]}