From: "Adeodato Simó" <dato@net.com.org.es>
To: git@vger.kernel.org
Subject: checkout @{-1} bug/oddity
Date: Sun, 19 Apr 2009 17:37:40 +0200 [thread overview]
Message-ID: <20090419153740.GA12431@chistera.yi.org> (raw)
In case this is worth fixing:
| % g co -b foo
| Switched to a new branch 'foo'
|
| % g co -
| Switched to branch 'master'
|
| % g co -b bar
| Switched to a new branch 'bar'
|
| % g co bar
| Already on 'bar'
|
| % g co -
| Already on 'bar'
In my opinion the last command should switch to master, as in, switching
to the current branch should not lose the @{-1} history.
Thanks,
--
- Are you sure we're good?
- Always.
-- Rory and Lorelai
next reply other threads:[~2009-04-19 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 15:37 Adeodato Simó [this message]
2009-04-19 20:36 ` checkout @{-1} bug/oddity Thomas Rast
2009-04-20 8:16 ` Adeodato Simó
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090419153740.GA12431@chistera.yi.org \
--to=dato@net.com.org.es \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).