From: Junio C Hamano <junkio@cox.net>
To: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] use "git <command>" instead of "git-<command>"
Date: Tue, 24 Jan 2006 18:08:34 -0800 [thread overview]
Message-ID: <7v64o93vq5.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: 20060124105224.GA6765@informatik.uni-freiburg.de
Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de> writes:
> Otherwise installations with gitexecdir != bindir are not able
> to determine the right version.
True, but this part
> -VN=$(git-describe --abbrev=4 HEAD 2>/dev/null | sed -e 's/-/./g') ||
> +VN=$(git describe --abbrev=4 HEAD 2>/dev/null | sed -e 's/-/./g') ||
>...
has a subtle issue, which the commit 026351a addresses, which
will hopefully become a non-issue given enough time. Then it
would be safe to make this change.
Of course, if/when I change the main Makefile to have different
gitexecdir and bindir by default, it would become "my problem",
but until then...
> -dirty=$(sh -c 'git-diff-index --name-only HEAD' 2>/dev/null) || dirty=
> +dirty=$(sh -c 'git diff-index --name-only HEAD' 2>/dev/null) || dirty=
On the other hand, your patch is correct for this part. The
issue 026351a commit addressed does not apply. An ancient 'git'
that did not have 'diff-index' (it was called 'diff-cache')
would have hit a breakage early on since 'describe' did not
exist back then.
prev parent reply other threads:[~2006-01-25 2:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 10:52 [PATCH] use "git <command>" instead of "git-<command>" Uwe Zeisberger
2006-01-25 2:08 ` Junio C Hamano [this message]
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=7v64o93vq5.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=zeisberg@informatik.uni-freiburg.de \
/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