{"thread":{"id":"26545","subject":"Hint for rebase in progress","startedAt":"2011-02-18T08:12:15Z","lastAt":"2011-02-18T09:07:41Z","messageCount":2,"participants":["Jeenu V","Stefan Naewe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"161520","messageId":"AANLkTikY-e7pD1nnbnz_m41wn0AbyF7Fj4z8K6WuznOL@mail.gmail.com","threadId":"26545","inReplyTo":null,"subject":"Hint for rebase in progress","fromName":"Jeenu V","fromEmail":"jeenuv@gmail.com","sentAt":"2011-02-18T08:12:15Z","receivedAt":"2011-02-18T08:12:15Z","isPatch":false,"sender":{"key":"jeenuv@gmail.com","avatar":"https://gravatar.com/avatar/0fae51e727209ba442f53fbab775dec62add0884f7a1bf1eb9fee94fb876f2b0?d=mp&s=160"},"body":"I was once in the middle of an interactive rebase, editing a commit\nand happened to do a git status. I could see that Git warns in red\ncolor \"Not currently on any branch\". Similarly, git branch said \"* (no\nbranch)\". Having gone this far, wouldn't it be helpful for Git to also\nremind \"Rebase in progress\" or something like that, some where in\nthese hints? Since git status is meant to display the current status\nof the tree, I think it's only apt for it to report so.\n\nBecause, once in a active rebase session, I think there's no command\nwhich tells user that an interactive session is in progress (or is\nthere?); gitk doesn't help either. If the user happens to take a break\nor something, it might be bit perplexing to figure out where he was,\nwhy it was (seeing the working directory headless).\n\n-- \nJeenu\n"},{"id":"161522","messageId":"4D5E36DD.7060307@atlas-elektronik.com","threadId":"26545","inReplyTo":"AANLkTikY-e7pD1nnbnz_m41wn0AbyF7Fj4z8K6WuznOL@mail.gmail.com","subject":"Re: Hint for rebase in progress","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2011-02-18T09:07:41Z","receivedAt":"2011-02-18T09:07:41Z","isPatch":false,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"On 2/18/2011 9:12 AM, Jeenu V wrote:\n> I was once in the middle of an interactive rebase, editing a commit\n> and happened to do a git status. I could see that Git warns in red\n> color \"Not currently on any branch\". Similarly, git branch said \"* (no\n> branch)\". Having gone this far, wouldn't it be helpful for Git to also\n> remind \"Rebase in progress\" or something like that, some where in\n> these hints? Since git status is meant to display the current status\n> of the tree, I think it's only apt for it to report so.\n> \n> Because, once in a active rebase session, I think there's no command\n> which tells user that an interactive session is in progress (or is\n> there?); gitk doesn't help either. If the user happens to take a break\n> or something, it might be bit perplexing to figure out where he was,\n> why it was (seeing the working directory headless).\n> \n\nLook in $OFFICIAL-GIT-REPO/contrib/completion/git-completion.bash.\nSet your 'PS1' as explained there and you will see at your command\nprompt if you're currently rebasing.\n\nHTH,\n  Stefan\n-- \n----------------------------------------------------------------\n/dev/random says: URA Redneck if you own a homemade fur coat.\n"}]}