git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Marco Craveiro <marco.craveiro@gmail.com>
To: git@vger.kernel.org
Subject: Ignore on commit
Date: Thu, 4 Oct 2012 17:45:50 +0100	[thread overview]
Message-ID: <CAKRNd4w4Z-LS9O5ffkbTSZ0Guv4KCmWR=AtW3EpxQ2sSgazG=Q@mail.gmail.com> (raw)

Hello gitters,

One of the very (very) few features I miss in svn is "ignore on
commit" (or, more generally, changelists). I'm not sure if this has
been discussed in the past - google failed me a bit due to spurious
matches - but I personally find it quite useful. The feature is
described here [1] (and graphically, here [2]).

The gist of it is, one can mark certain files as "ignore on commit"
and they get placed on a "special list" which shows up on status.
These lists are effectively a sub-division of modified (but not
staged). Up till now I have found the staging area to be quite
sufficient, but recently I hit a use case where I was modifying a
large number of files; some modifications were hacks required to get
the build to work but were not meant to ever get checked in, most
other files had real work. In cases like this its really useful to
mark the hacked files as "ignore on commit", so that a) we don't lose
track of them (as one would with git ignore, or with [4]) but b) we
won't check them in by mistake.

I found some tips on how to survive without change lists ([3], [4])
but they are a bit more cumbersome. Has this feature been discussed?

Thanks a lot for an amazing piece of software, and thanks for your time.

Cheers

Marco
-- 
So young, and already so unknown -- Pauli

blog: http://mcraveiro.blogspot.com

[1] http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.changelist.html
[2] http://blog.baljeetsingh.net/2009/02/tips-tricks-svn-ignore-on-commit.html
[3] http://stackoverflow.com/questions/10606809/git-equivalence-of-svn-changelist
[4] http://gitready.com/intermediate/2009/02/18/temporarily-ignoring-files.html

             reply	other threads:[~2012-10-04 22:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-04 16:45 Marco Craveiro [this message]
2012-10-04 20:06 ` Ignore on commit Pascal Obry
2012-10-04 21:20   ` Marco Craveiro
2012-10-04 23:02     ` Andrew Wong
2012-10-05  1:00     ` Andrew Ardill
2012-10-05  1:35       ` demerphq
2012-10-05  2:20         ` Sitaram Chamarty
2012-10-05  2:44           ` Junio C Hamano
2012-10-05  2:44           ` Andrew Ardill
2012-10-05  6:09             ` Marco Craveiro
2012-10-05  7:00       ` Philip Oakley
2012-10-05 13:30     ` Pascal Obry

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKRNd4w4Z-LS9O5ffkbTSZ0Guv4KCmWR=AtW3EpxQ2sSgazG=Q@mail.gmail.com' \
    --to=marco.craveiro@gmail.com \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).