From: Krzysiek Pawlik <krzysiek.pawlik@people.pl>
To: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] Ability to automaticaly push tags to remote repositories.
Date: Thu, 30 Mar 2006 16:18:42 +0200 [thread overview]
Message-ID: <442BE8C2.5000907@people.pl> (raw)
In-Reply-To: <442BD562.3030207@people.pl>
[-- Attachment #1.1: Type: text/plain, Size: 182 bytes --]
Krzysiek Pawlik wrote:
> Comments, suggestions?
Broken when there are no tags. Attached patch fixes it.
--
Krzysiek Pawlik (Nelchael)
RLU #322999 GPG Key ID: 0xBC555551
[-- Attachment #1.2: fix-no-tags.patch --]
[-- Type: text/plain, Size: 1025 bytes --]
Fix auto-push of tags when there are no tags.
---
commit eff67bafe333c28c238feb614f098b987216ffb0
tree 8758ae4a2eace9c4fdf64ec89c1f983871097a74
parent 6e581cf43ccf7236ea47ac4ba9b51df9cda3c671
author Krzysiek Pawlik <kpawlik@silvermedia.pl> Thu, 30 Mar 2006 16:10:26 +0200
committer Krzysiek Pawlik <kpawlik@silvermedia.pl> Thu, 30 Mar 2006 16:10:26 +0200
cg-push | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-push b/cg-push
index 865cbd5..40016c1 100755
--- a/cg-push
+++ b/cg-push
@@ -60,7 +60,7 @@ if [ "${auto_push_tags}" = "yes" ]; then
if [ ! -d "$_git/cogito-tags-pushed" ]; then
mkdir "$_git/cogito-tags-pushed" || die "can't create cache for pushed tags"
fi
- for i in `cg-tag-ls | awk '{print $1}'`; do
+ for i in `cg-tag-ls 2> /dev/null | awk '{print $1}'`; do
if [ ! -f "$_git/cogito-tags-pushed/${i}" ]; then
echo "Adding ${i} to list of tags to push"
tags[${#tags[@]}]="refs/tags/${i}"
\f
!-------------------------------------------------------------flip-
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-03-30 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-30 12:56 [PATCH] Ability to automaticaly push tags to remote repositories Krzysiek Pawlik
2006-03-30 14:18 ` Krzysiek Pawlik [this message]
2006-06-02 20:58 ` Petr Baudis
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=442BE8C2.5000907@people.pl \
--to=krzysiek.pawlik@people.pl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.