From f8d294f0a44c4305a9f3a1c70beb6a1c7583f287 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 8 Nov 2005 08:58:52 -0800 Subject: Clean build annoyance. As Pasky pointed out, building in templates directory showed list of built template files which was unneeded. This commit also fixes another build annoyance I recently left in by accident. Signed-off-by: Junio C Hamano --- Documentation/build-docdep.perl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Documentation') diff --git a/Documentation/build-docdep.perl b/Documentation/build-docdep.perl index 6ff35e02fa..489389c32a 100755 --- a/Documentation/build-docdep.perl +++ b/Documentation/build-docdep.perl @@ -22,15 +22,11 @@ my $changed = 1; while ($changed) { $changed = 0; while (my ($text, $included) = each %include) { - print STDERR "Looking at $text...\n"; for my $i (keys %$included) { - print STDERR "$text includes $i.\n"; # $text has include::$i; if $i includes $j # $text indirectly includes $j. if (exists $include{$i}) { - print STDERR "$i includes something.\n"; for my $j (keys %{$include{$i}}) { - print STDERR "$text includes $i include $j\n"; if (!exists $include{$text}{$j}) { $include{$text}{$j} = 1; $included{$j} = 1; -- cgit v1.3 From 61f81518a2372dd78fa03da2b3d62173c3268ee7 Mon Sep 17 00:00:00 2001 From: Kai Ruemmler Date: Tue, 8 Nov 2005 11:44:33 +0100 Subject: git-tag -d : delete tag This adds option '-d' to git-tag.sh and documents it. Signed-off-by: Kai Ruemmler Signed-off-by: Junio C Hamano --- Documentation/git-tag.txt | 4 +++- git-tag.sh | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index 3984812cec..95de436c10 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -8,7 +8,7 @@ git-tag - Create a tag object signed with GPG SYNOPSIS -------- -'git-tag' [-a | -s | -u ] [-f] [-m ] [] +'git-tag' [-a | -s | -u ] [-f | -d] [-m ] [] DESCRIPTION ----------- @@ -30,6 +30,8 @@ A GnuPG signed tag object will be created when `-s` or `-u committer identity for the current user is used to find the GnuPG key for signing. +`-d ` deletes the tag. + Author ------ diff --git a/git-tag.sh b/git-tag.sh index 6130904a94..1375945307 100755 --- a/git-tag.sh +++ b/git-tag.sh @@ -4,7 +4,7 @@ . git-sh-setup || die "Not a git archive" usage () { - echo >&2 "Usage: git-tag [-a | -s | -u ] [-f] [-m ] []" + echo >&2 "Usage: git-tag [-a | -s | -u ] [-f | -d] [-m ] []" exit 1 } @@ -37,6 +37,13 @@ do shift username="$1" ;; + -d) + shift + tag_name="$1" + rm "$GIT_DIR/refs/tags/$tag_name" && \ + echo "Deleted tag $tag_name." + exit $? + ;; -*) usage ;; -- cgit v1.3 From f37d0cc3ff6ef565f961a0d3741ba016e1ceb31d Mon Sep 17 00:00:00 2001 From: "Luck, Tony" Date: Tue, 8 Nov 2005 15:52:02 -0800 Subject: Update howto using-topic-branches "git resolve" is being deprecated in favour of "git merge". Update the documentation to reflect this. Signed-off-by: Tony Luck Signed-off-by: Junio C Hamano --- Documentation/howto/using-topic-branches.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Documentation') diff --git a/Documentation/howto/using-topic-branches.txt b/Documentation/howto/using-topic-branches.txt index c6c635a51e..4698abe46b 100644 --- a/Documentation/howto/using-topic-branches.txt +++ b/Documentation/howto/using-topic-branches.txt @@ -9,7 +9,7 @@ GIT as a Linux subsystem maintainer. -Tony -Last updated w.r.t. GIT 0.99.5 +Last updated w.r.t. GIT 0.99.9f Linux subsystem maintenance using GIT ------------------------------------- @@ -89,8 +89,8 @@ out at the current tip of the linus branch. These can be easily kept up to date by merging from the "linus" branch: - $ git checkout test && git resolve test linus "Auto-update from upstream" - $ git checkout release && git resolve release linus "Auto-update from upstream" + $ git checkout test && git merge "Auto-update from upstream" test linus + $ git checkout release && git merge "Auto-update from upstream" release linus Set up so that you can push upstream to your public tree (you need to log-in to the remote system and create an empty tree there before the @@ -128,7 +128,7 @@ commit to this branch. When you are happy with the state of this change, you can pull it into the "test" branch in preparation to make it public: - $ git checkout test && git resolve test speed-up-spinlocks "Pull speed-up-spinlock changes" + $ git checkout test && git merge "Pull speed-up-spinlock changes" test speed-up-spinlocks It is unlikely that you would have any conflicts here ... but you might if you spent a while on this step and had also pulled new versions from upstream. @@ -138,7 +138,7 @@ same branch into the "release" tree ready to go upstream. This is where you see the value of keeping each patch (or patch series) in its own branch. It means that the patches can be moved into the "release" tree in any order. - $ git checkout release && git resolve release speed-up-spinlocks "Pull speed-up-spinlock changes" + $ git checkout release && git merge "Pull speed-up-spinlock changes" release speed-up-spinlocks After a while, you will have a number of branches, and despite the well chosen names you picked for each of them, you may forget what @@ -190,7 +190,7 @@ Here are some of the scripts that I use to simplify all this even further. case "$1" in test|release) - git checkout $1 && git resolve $1 linus "Auto-update from upstream" + git checkout $1 && git merge "Auto-update from upstream" $1 linus ;; linus) before=$(cat .git/refs/heads/linus) @@ -231,7 +231,7 @@ test|release) echo $1 already merged into $2 1>&2 exit 1 fi - git checkout $2 && git resolve $2 $1 "Pull $1 into $2 branch" + git checkout $2 && git merge "Pull $1 into $2 branch" $2 $1 ;; *) usage -- cgit v1.3