Re: finding deleted file names

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mikael Magnusson
Date: Wednesday, July 2, 2008 - 6:12 pm

2008/7/3 Geoff Russell <geoffrey.russell@gmail.com>:

There's no symbolic name for it, since there might not be only one initial
commit. git.git for example has at least three root commits. You will
probably get what you want with $(git rev-list HEAD|tail -1). If your
history is very large, $(git rev-list --reverse HEAD|head -1) is slightly
faster, but usually not enough to offset typing --reverse :).

-- 
Mikael Magnusson
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
finding deleted file names, Geoff Russell, (Wed Jul 2, 5:01 pm)
Re: finding deleted file names, Mikael Magnusson, (Wed Jul 2, 6:12 pm)
Re: finding deleted file names, Geoff Russell, (Wed Jul 2, 7:45 pm)
Re: finding deleted file names, Mikael Magnusson, (Wed Jul 2, 8:18 pm)
Re: finding deleted file names, Jakub Narebski, (Thu Jul 3, 2:20 am)
Re: finding deleted file names, Jeff King, (Thu Jul 3, 3:36 am)
Re: finding deleted file names, Jeff King, (Thu Jul 3, 3:42 am)
Re: finding deleted file names, Johannes Schindelin, (Thu Jul 3, 4:57 am)
Re: finding deleted file names, Junio C Hamano, (Thu Jul 3, 12:41 pm)
Re: finding deleted file names, Jeff King, (Thu Jul 3, 12:47 pm)
Re: finding deleted file names, Shawn O. Pearce, (Thu Jul 3, 1:32 pm)
Re: finding deleted file names, Geoff Russell, (Thu Jul 3, 11:45 pm)
Re: finding deleted file names, Junio C Hamano, (Fri Jul 4, 12:05 am)
Re: finding deleted file names, Geoff Russell, (Sat Jul 5, 9:54 pm)
Re: finding deleted file names, Junio C Hamano, (Sat Jul 5, 10:17 pm)
Re: finding deleted file names, Geoff Russell, (Sun Jul 6, 5:41 pm)