From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Petr Baudis <pasky@suse.cz>
Cc: "Git Mailing List" <git@vger.kernel.org>,
"martin f krafft" <madduck@debian.org>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: Re: [TopGit] aborting tg create leafs deleted .top* files in index
Date: Fri, 27 Feb 2009 07:47:15 +0100 [thread overview]
Message-ID: <36ca99e90902262247q783f8ce1j20bdc971cfc22948@mail.gmail.com> (raw)
In-Reply-To: <36ca99e90902061103u24d4f38eua52d9259cb8d34d1@mail.gmail.com>
On Fri, Feb 6, 2009 at 20:03, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
> Hi,
>
> after executing the abort commands to remove a just created new topic
> branch, the .top* files from the previous branch are markes as
> deleted.
>
> To reproduce:
>
> $ md g
> $ cd g
> $ git --version
> git version 1.6.1.rc4
> $ git init
> Initialized empty Git repository in /home/bertw/tmp/g/.git/
> $ touch file
> $ git add file
> $ git commit -m init
> [master (root-commit)]: created 2155efd: "init"
> 0 files changed, 0 insertions(+), 0 deletions(-)
> create mode 100644 file
> $ tg create t/test1
> tg: Automatically marking dependency on master
> tg: Creating t/test1 base from master...
> Switched to a new branch "t/test1"
> tg: Topic branch t/test1 set up. Please fill .topmsg now and make
> initial commit.
> tg: To abort: git rm -f .top* && git checkout master && tg delete t/test1
> $ git commit -m "topic test1"
> [t/test1]: created 3cb4fbf: "topic test1"
> 2 files changed, 7 insertions(+), 0 deletions(-)
> create mode 100644 .topdeps
> create mode 100644 .topmsg
> $ tg create t/test2
> tg: Automatically marking dependency on t/test1
> tg: Creating t/test2 base from t/test1...
> Switched to a new branch "t/test2"
> tg: Topic branch t/test2 set up. Please fill .topmsg now and make
> initial commit.
> tg: To abort: git rm -f .top* && git checkout t/test1 && tg delete t/test2
> $ git rm -f .top* && git checkout t/test1 && tg delete t/test2
> rm '.topdeps'
> rm '.topmsg'
> D .topdeps
> D .topmsg
> Switched to branch "t/test1"
> $ git status
> # On branch t/test1
> # Changes to be committed:
> # (use "git reset HEAD <file>..." to unstage)
> #
> # deleted: .topdeps
> # deleted: .topmsg
> #
> $
Anyone?
>
>
> Regards,
> Bert Wesarg
>
next prev parent reply other threads:[~2009-02-27 6:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 19:03 [TopGit] aborting tg create leafs deleted .top* files in index Bert Wesarg
2009-02-27 6:47 ` Bert Wesarg [this message]
2009-02-27 8:32 ` Uwe Kleine-König
2009-02-27 8:40 ` Bert Wesarg
2009-02-27 10:59 ` Uwe Kleine-König
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=36ca99e90902262247q783f8ce1j20bdc971cfc22948@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=git@vger.kernel.org \
--cc=madduck@debian.org \
--cc=pasky@suse.cz \
--cc=u.kleine-koenig@pengutronix.de \
/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).