public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How can I remove a personal tag?
@ 2016-02-29 22:56 H.J. Lu
  2016-02-29 23:50 ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: H.J. Lu @ 2016-02-29 22:56 UTC (permalink / raw)
  To: Binutils, GDB

I want to update users/hjl/linux/release/2.26.51.0.1 tag by
removing it fist.  I got

# git push origin  :users/hjl/linux/release/2.26.51.0.1
remote: *** Deleting a tag is not allowed in this repository
remote: error: hook declined to update
refs/tags/users/hjl/linux/release/2.26.51.0.1
Auto packing the repository for optimum performance.
warning: There are too many unreachable loose objects; run 'git prune'
to remove them.
To ssh://hjl@sourceware.org/git/binutils-gdb.git
 ! [remote rejected] users/hjl/linux/release/2.26.51.0.1 (hook declined)
error: failed to push some refs to
'ssh://hjl@sourceware.org/git/binutils-gdb.git'


-- 
H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I remove a personal tag?
  2016-02-29 22:56 How can I remove a personal tag? H.J. Lu
@ 2016-02-29 23:50 ` Joel Brobecker
  2016-03-01  1:05   ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2016-02-29 23:50 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Binutils, GDB

> I want to update users/hjl/linux/release/2.26.51.0.1 tag by
> removing it fist.  I got
> 
> # git push origin  :users/hjl/linux/release/2.26.51.0.1
> remote: *** Deleting a tag is not allowed in this repository
> remote: error: hook declined to update
> refs/tags/users/hjl/linux/release/2.26.51.0.1
> Auto packing the repository for optimum performance.
> warning: There are too many unreachable loose objects; run 'git prune'
> to remove them.
> To ssh://hjl@sourceware.org/git/binutils-gdb.git
>  ! [remote rejected] users/hjl/linux/release/2.26.51.0.1 (hook declined)
> error: failed to push some refs to
> 'ssh://hjl@sourceware.org/git/binutils-gdb.git'

Changing the target of a tag is considered to be a really bad idea.
I have to run, but you can look it up on the web as to why.

I can delete the tag for you, but regardless, I recommend you use
another one. This happened to me too when I was creating an earlier
GDB release, so it's really important to be careful when creating
them...

-- 
Joel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I remove a personal tag?
  2016-02-29 23:50 ` Joel Brobecker
@ 2016-03-01  1:05   ` H.J. Lu
  2016-03-01 16:47     ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: H.J. Lu @ 2016-03-01  1:05 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Binutils, GDB

On Mon, Feb 29, 2016 at 3:50 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> I want to update users/hjl/linux/release/2.26.51.0.1 tag by
>> removing it fist.  I got
>>
>> # git push origin  :users/hjl/linux/release/2.26.51.0.1
>> remote: *** Deleting a tag is not allowed in this repository
>> remote: error: hook declined to update
>> refs/tags/users/hjl/linux/release/2.26.51.0.1
>> Auto packing the repository for optimum performance.
>> warning: There are too many unreachable loose objects; run 'git prune'
>> to remove them.
>> To ssh://hjl@sourceware.org/git/binutils-gdb.git
>>  ! [remote rejected] users/hjl/linux/release/2.26.51.0.1 (hook declined)
>> error: failed to push some refs to
>> 'ssh://hjl@sourceware.org/git/binutils-gdb.git'
>
> Changing the target of a tag is considered to be a really bad idea.
> I have to run, but you can look it up on the web as to why.
>
> I can delete the tag for you, but regardless, I recommend you use

Can you delete it for me?  Thanks.

BTW, can you also prune the git repo?  It has too many unreachable
objects.

> another one. This happened to me too when I was creating an earlier
> GDB release, so it's really important to be careful when creating
> them...
>
> --
> Joel



-- 
H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I remove a personal tag?
  2016-03-01  1:05   ` H.J. Lu
@ 2016-03-01 16:47     ` Joel Brobecker
  2016-03-01 17:07       ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2016-03-01 16:47 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Binutils, GDB

> Can you delete it for me?  Thanks.
> 
> BTW, can you also prune the git repo?  It has too many unreachable
> objects.

Done and done.

-- 
Joel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How can I remove a personal tag?
  2016-03-01 16:47     ` Joel Brobecker
@ 2016-03-01 17:07       ` H.J. Lu
  0 siblings, 0 replies; 5+ messages in thread
From: H.J. Lu @ 2016-03-01 17:07 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Binutils, GDB

On Tue, Mar 1, 2016 at 8:47 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> Can you delete it for me?  Thanks.
>>
>> BTW, can you also prune the git repo?  It has too many unreachable
>> objects.
>
> Done and done.

Thanks.

-- 
H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-01 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-29 22:56 How can I remove a personal tag? H.J. Lu
2016-02-29 23:50 ` Joel Brobecker
2016-03-01  1:05   ` H.J. Lu
2016-03-01 16:47     ` Joel Brobecker
2016-03-01 17:07       ` H.J. Lu

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).