From: "Karl Hasselström" <kha@treskal.com>
To: Aneesh Kumar <aneesh.kumar@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>, catalin.marinas@gmail.com
Subject: Re: stg branch --delete doesn't work
Date: Fri, 21 Sep 2007 11:48:30 +0200 [thread overview]
Message-ID: <20070921094830.GB26307@diana.vm.bytemark.co.uk> (raw)
In-Reply-To: <cc723f590709202140y677a17d0y504b8cfa8b66606b@mail.gmail.com>
On 2007-09-21 10:10:45 +0530, Aneesh Kumar wrote:
> [review@linux-review-ext4]$ git checkout master
> Switched to branch "master"
> [master@linux-review-ext4]$ stg branch --delete --force review
> Deleting branch "review" ...
> fatal: Needed a single revision
> stg branch: refs/heads/review does not exist
>
> And it leaves in .git/config
> [branch "test2.stgit"]
> stackformatversion = 2
>
> So a later stg init also fails.
Ow! You'd think we'd have a test for that ...
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
next prev parent reply other threads:[~2007-09-21 9:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 4:40 stg branch --delete doesn't work Aneesh Kumar
2007-09-21 9:48 ` Karl Hasselström [this message]
2007-09-22 8:46 ` [StGit PATCH 0/4] Fix "stg branch --delete" Karl Hasselström
2007-09-22 8:46 ` [StGit PATCH 1/4] Don't special-case the "master" branch during branch delete Karl Hasselström
2007-09-22 8:46 ` [StGit PATCH 2/4] Don't try to delete the branch twice Karl Hasselström
2007-09-22 8:46 ` [StGit PATCH 3/4] Properly remove all config for a deleted branch Karl Hasselström
2007-09-22 8:46 ` [StGit PATCH 4/4] Add simple test for "stg branch --delete" Karl Hasselström
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070921094830.GB26307@diana.vm.bytemark.co.uk \
--to=kha@treskal.com \
--cc=aneesh.kumar@gmail.com \
--cc=catalin.marinas@gmail.com \
--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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).