all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, Jeremiah@pdp10.guru
Subject: Re: Cleaning up make clean's behavior
Date: Sat, 09 Jun 2018 23:41:12 -0700	[thread overview]
Message-ID: <87muw3nnxz.fsf@gmail.com> (raw)
In-Reply-To: <877eness0g.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Jun 2018 13:36:15 +0200")

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Could you clarify what the problem is?
>
> (Besides I agree with Mark that “make clean” should not delete files it
> doesn’t know about.)

I also agree.

FYI, to delete everything and return to a pristine Git repository state,
I usually do this:

    # Clean everything the Makefile knows about.
    make distclean
    # Clean everything Git doesn't track.
    git clean -dfx
    # Reset anything else back to whatever is in HEAD.
    git reset --hard

Be careful though, because doing that is, of course, destructive.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2018-06-10  6:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-02 16:23 Cleaning up make clean's behavior Jeremiah
2018-06-02 16:46 ` Nils Gillmann
2018-06-02 16:54   ` Gábor Boskovits
2018-06-03  0:29 ` Mark H Weaver
2018-06-03  6:29   ` Vincent Legoll
2018-06-04 11:36 ` Ludovic Courtès
2018-06-10  6:41   ` Chris Marusich [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=87muw3nnxz.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=Jeremiah@pdp10.guru \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

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.