emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git help please - checking out old commit doesn't find lib/gnulib.mk


From: Eli Zaretskii
Subject: Re: Git help please - checking out old commit doesn't find lib/gnulib.mk.in.
Date: Sun, 12 Nov 2017 20:29:26 +0200

> Date: Sun, 12 Nov 2017 18:09:59 +0000
> From: Alan Mackenzie <address@hidden>
> 
> I'm attempting to check out a moderately old version of Emacs with:
> 
>     $ git checkout 10c0e1c
> 
> .  This appears to work.  I then attempt to build it with:
> 
>     $ time make -j17 bootstrap
> 
> .  This fails with:
> 
>     make: *** No rule to make target 'lib/gnulib.mk.in', needed by 
> 'Makefile'.  Stop.
> 
> .  It would appear that the git checkout has failed to restore the state
> of the given commit, in that it hasn't restored the indicated file.  Is
> this in fact the case?
> 
> What do I have to do to restore this version in a state I can build.

I think you have some stale files that you need to clean up, basically
anything that is not a versioned file.  For best results, I'd checkout
into a separate directory, starting with "git worktree add".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]