* [Drbd-dev] trivial fix for 8.2.x w/git 1.6
@ 2008-10-27 12:41 Lars Marowsky-Bree
2008-10-29 16:13 ` Lars Ellenberg
0 siblings, 1 reply; 2+ messages in thread
From: Lars Marowsky-Bree @ 2008-10-27 12:41 UTC (permalink / raw)
To: drbd-dev
[-- 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 ; \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Drbd-dev] trivial fix for 8.2.x w/git 1.6
2008-10-27 12:41 [Drbd-dev] trivial fix for 8.2.x w/git 1.6 Lars Marowsky-Bree
@ 2008-10-29 16:13 ` Lars Ellenberg
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ellenberg @ 2008-10-29 16:13 UTC (permalink / raw)
To: drbd-dev
On Mon, Oct 27, 2008 at 01:41:06PM +0100, Lars Marowsky-Bree wrote:
> Attached patch; git 1.6 no longer installs the "git-*" commands.
sweet.
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-29 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 12:41 [Drbd-dev] trivial fix for 8.2.x w/git 1.6 Lars Marowsky-Bree
2008-10-29 16:13 ` Lars Ellenberg
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.