git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [TopGit] aborting tg create leafs deleted .top* files in index

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
Feb 27, 2009, 06:47 UTC
Message-ID
<36ca99e90902262247q783f8ce1j20bdc971cfc22948@mail.gmail.com>
In-Reply-To
<36ca99e90902061103u24d4f38eua52d9259cb8d34d1@mail.gmail.com>
On Fri, Feb 6, 2009 at 20:03, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
Show 54 quoted lines
> 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?
Show 5 quoted lines
>
>
> Regards,
> Bert Wesarg
>
Previous: Bert WesargNext: Uwe Kleine-König
Message 2 of 5 in “[TopGit] aborting tg create leafs deleted .top* files in index”
  1. Bert WesargFeb 6, 2009
  2. Bert WesargFeb 27, 2009
  3. Uwe Kleine-KönigFeb 27, 2009
  4. Bert WesargFeb 27, 2009
  5. Uwe Kleine-KönigFeb 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.