Package: devscripts
Severity: wishlist
File: /usr/bin/debcommit
Tags: patch
Hi,
| GIT v1.5.4 Release Notes
| ========================
...
| Deprecation notices
| -------------------
|
| * From v1.6.0, git will by default install dashed form of commands
| (e.g. "git-commit") outside of users' normal $PATH, and will install
| only selected commands ("git" itself, and "gitk") in $PATH. This
| implies:
|
| - Using dashed forms of git commands (e.g. "git-commit") from the
| command line has been informally deprecated since early 2006, but
| now it officially is, and will be removed in the future. Use
| dash-less forms (e.g. "git commit") instead.
|
| - Using dashed forms from your scripts, without first prepending the
| return value from "git --exec-path" to the scripts' PATH, has been
| informally deprecated since early 2006, but now it officially is.
|
| - Use of dashed forms with "PATH=$(git --exec-path):$PATH; export
| PATH" early in your script is not deprecated with this change.
|
| Users are strongly encouraged to adjust their habits and scripts now
| to prepare for this change
This will be a real problem when using a git backport in lenny, so
please do:
sed -i "s/'git-diff'/'git', 'diff'/" scripts/debcommit.pl
dch -a "debcommit: Use dash-less forms of git commands"
$ grep -ri git- . | egrep -v '#|debian/control|debian/changelog|README'
./scripts/debcommit.pl: @diffcmd = ('git-diff', '--no-color');
./scripts/debcommit.pl: @diffcmd = ('git-diff', '--cached', '--no-color');
Regards,
Carsten
--
To unsubscribe, send mail to [EMAIL PROTECTED]