From: Dan Loewenherz <dloewenherz@gmail.com>
To: Jakub Narebski <jnareb@gmail.com>
Cc: Andreas Ericsson <ae@op5.se>, takeshin <admirau@gmail.com>,
git@vger.kernel.org
Subject: Re: update @version in file
Date: Wed, 13 May 2009 12:04:15 -0400 [thread overview]
Message-ID: <20090513160415.GA4097@andros.launchmodem.com> (raw)
In-Reply-To: <m3iqk5l4ps.fsf@localhost.localdomain>
On 13/05/09 02:42 -0700, Jakub Narebski wrote:
> Andreas Ericsson <ae@op5.se> writes:
> > No, but see GIT-VERSION-GEN and "git help describe" for info on how to
> > replace such version tags using a script when you cut a release of your
> > project.
Couldn't Git be a little more friendly?
You can choose to ignore an uncommitted file through the `git update-index
--assume-unchanged` command. But AFAIK, Git doesn't allow one to ignore
uncommitted _lines_ in tracked files. If this feature were implemented, a
post commit hook could write in the latest commit hash and git wouldn't care.
Is this something that is worth pursuing?
Dan
next prev parent reply other threads:[~2009-05-13 16:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 8:59 update @version in file takeshin
2009-05-13 9:11 ` Andreas Ericsson
2009-05-13 9:22 ` takeshin
2009-05-13 9:42 ` Jakub Narebski
2009-05-13 16:04 ` Dan Loewenherz [this message]
2009-05-13 16:56 ` Jakub Narebski
2009-05-13 17:05 ` Matthieu Moy
2009-05-13 17:38 ` Andreas Ericsson
2009-05-13 23:02 ` Jakub Narebski
2009-05-14 7:08 ` Matthieu Moy
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=20090513160415.GA4097@andros.launchmodem.com \
--to=dloewenherz@gmail.com \
--cc=admirau@gmail.com \
--cc=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.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;
as well as URLs for NNTP newsgroup(s).