From: Lars Marowsky-Bree <lmb@suse.de>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] trivial fix for 8.2.x w/git 1.6
Date: Mon, 27 Oct 2008 13:41:06 +0100 [thread overview]
Message-ID: <20081027124106.GT3192@marowsky-bree.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
Attached patch; git 1.6 no longer installs the "git-*" commands.
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
[-- Attachment #2: drbd-8.2.git.diff --]
[-- Type: text/x-patch, Size: 1836 bytes --]
commit 5b6358de919b34287026963ad06257b9da3aca04
Author: Lars Marowsky-Bree <lmb@hermes.in-addr.de>
Date: Mon Oct 27 13:35:25 2008 +0100
Work with git 1.6.0 syntax.
diff --git a/Makefile b/Makefile
index b0492d2..8f3cba0 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ ifdef FORCE
# in the tgz name:
# make distclean doc tgz FORCE=1
#
-REL_VERSION := $(REL_VERSION)-$(shell git-rev-parse HEAD)
+REL_VERSION := $(REL_VERSION)-$(shell git rev-parse HEAD)
endif
DIST_VERSION := $(REL_VERSION)
@@ -124,7 +124,7 @@ drbd/drbd_buildtag.c:
# update of .filelist is forced:
.PHONY: .filelist
.filelist:
- @git-ls-files | sed '$(if $(PRESERVE_DEBIAN),,/^debian/d);s#^#drbd-$(DIST_VERSION)/#' > .filelist
+ @git ls-files | sed '$(if $(PRESERVE_DEBIAN),,/^debian/d);s#^#drbd-$(DIST_VERSION)/#' > .filelist
@[ -s .filelist ] # assert there is something in .filelist now
@find documentation -name "[^.]*.[58]" -o -name "*.html" | \
sed "s/^/drbd-$(DIST_VERSION)\//" >> .filelist ;\
@@ -153,7 +153,7 @@ tgz: check_changelogs_up2date doc
endif
check_all_committed:
- @$(if $(FORCE),-,)modified=`git-ls-files -m -t`; \
+ @$(if $(FORCE),-,)modified=`git ls-files -m -t`; \
if test -n "$$modified" ; then \
echo "$$modified"; \
false; \
diff --git a/drbd/Makefile b/drbd/Makefile
index fa05d3c..ff1b78e 100644
--- a/drbd/Makefile
+++ b/drbd/Makefile
@@ -111,8 +111,8 @@ else
fi; \
grep return $@ ; \
else \
- GITHEAD=$$(git-rev-parse HEAD); \
- GITDIFF=$$(cd .. && git-diff --name-only HEAD | tr -s '\t\n' ' ' | \
+ GITHEAD=$$(git rev-parse HEAD); \
+ GITDIFF=$$(cd .. && git diff --name-only HEAD | tr -s '\t\n' ' ' | \
sed -e 's/^/ /;s/ *$$//'); \
echo -e "\treturn \"GIT-hash: $$GITHEAD$$GITDIFF\""; \
fi ; \
next reply other threads:[~2008-10-27 12:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 12:41 Lars Marowsky-Bree [this message]
2008-10-29 16:13 ` [Drbd-dev] trivial fix for 8.2.x w/git 1.6 Lars Ellenberg
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=20081027124106.GT3192@marowsky-bree.de \
--to=lmb@suse.de \
--cc=drbd-dev@lists.linbit.com \
/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