Re: fast-import should not care about core.ignorecase

2014-12-08 Thread Joshua Jensen
Jonathan Nieder wrote on 12/8/2014 6:31 PM: Joshua Jensen wrote: I think it has been discussed before, but maybe Git needs a core.casefold in addition to core.ignorecase.) Would it work for --casefold to be a commandline flag to fast-import, instead of a global option affecting multiple Git

Re: fast-import should not care about core.ignorecase

2014-12-08 Thread Joshua Jensen
Mike Hommey wrote on 12/8/2014 5:12 PM: While it makes sense for checkouts and local commits, it doesn't make sense to me that using git fast-import with the same import script would have a different behavior depending on whether the file system is case-sensitive or not. I have used fast-import w

Re: Staging Individual Lines

2013-04-22 Thread Joshua Jensen
- Original Message - From: ode Date: 4/21/2013 4:22 PM I went looking on Google and found git-cola gui client which works for staging individual lines to the commit. The 'git gui' that ships with Git also stages individual lines and groups of lines, FWIW. -Josh -- To unsubscribe from t

Re: SSH version on Git 1.8.1.2 for Windows is outdated.

2013-03-15 Thread Joshua Jensen
- Original Message - From: Konstantin Khomoutov Date: 3/15/2013 11:03 AM On Fri, 15 Mar 2013 11:05:11 +0100 Kristof Mattei wrote: C:\Program Files (x86)\Git\bin>ssh -V OpenSSH_6.1p1, OpenSSL 1.0.1e 11 Feb 2013 Is there any way you can incorporate this update in the installer? Yes, yo

Re: git branch case insensitivity (Possible bug)

2013-01-09 Thread Joshua Jensen
- Original Message - From: Andreas Ericsson Date: 1/9/2013 8:52 AM Are you using Mac OSX? Are you using the HFS+ filesystem shipped with it? Did you use the filesystem's default settings rather than reinstall your system with sensible settings? If you said "yes" to all of the above, thi

Re: Python extension commands in git - request for policy change

2012-12-11 Thread Joshua Jensen
- Original Message - From: Patrick Donnelly Date: 12/11/2012 7:26 PM If we use lua for writing "builtin" commands, we'll need to export a lot of C functions and writing wrappers like this is boring and time consuming. Also, assume I export fn(char*,int) to Lua, then I change the prototype

Re: Python extension commands in git - request for policy change

2012-12-11 Thread Joshua Jensen
- Original Message - From: Eric S. Raymond Date: 12/11/2012 8:30 PM It might be a good fit for extending git; I wouldn't be very surprised if that worked. However, I do have concerns about the "Oh, we'll just lash together a binding to C" attitude common among lua programmers; I foresee m

Re: Python extension commands in git - request for policy change

2012-11-27 Thread Joshua Jensen
- Original Message - From: Michael Haggerty Date: 11/25/2012 3:44 AM * Startup time: Is the time to start the "X" interpreter prohibitive? (On my computer, "python -c pass", which starts the Python interpreter and does nothing, takes about 24ms.) This overhead would be incurred

Re: [ENHANCEMENT] Allow '**' pattern in .gitignore

2012-10-03 Thread Joshua Jensen
- Original Message - From: Nguyen Thai Ngoc Duy Date: 10/3/2012 7:42 AM On Wed, Oct 3, 2012 at 8:35 PM, Jens Lehmann wrote: */foo/bar */*/foo/bar */*/*/foo/bar Using "**/foo/bar" instead would be a great improvement If this "**/foo/bar" (i.e. no wildcards except one ** at the beginnin

Re: Quickly searching for a note

2012-09-21 Thread Joshua Jensen
- Original Message - From: Johannes Sixt Date: 9/21/2012 2:50 PM The trick is to pipe 'git log' output into another process that reads no more than it needs and exits. Then 'git log' dies from SIGPIPE before it processed all 1000 commits because its down-stream has gone away. For example

Re: Quickly searching for a note

2012-09-21 Thread Joshua Jensen
- Original Message - From: Junio C Hamano Date: 9/21/2012 2:04 PM Joshua Jensen writes: Is there any particular reason you do that as two separate steps? It would feel more natural, at least to me, to do something along the lines of git log --show-notes=p4notes -1000

What are the ways CRLF files can make it into the repository?

2012-09-21 Thread Joshua Jensen
Hi. We've been running with core.autocrlf = input (some people with core.autocrlf = true). However, there are some text files in the repository that are CRLF, and I am at a loss to explain how they go here. We understand that if core.autocrlf=false, this could happen. While I admit there i

Re: Quickly searching for a note

2012-09-21 Thread Joshua Jensen
- Original Message - From: Andreas Schwab Date: 9/21/2012 9:10 AM Joshua Jensen writes: Background: To tie Perforce changelists to Git commits, I add a note to a commit with the form "P4@123456". Later, I use the note to sync down the closest Perforce changelist matchi

Re: Quickly searching for a note

2012-09-21 Thread Joshua Jensen
- Original Message - From: Junio C Hamano Date: 9/21/2012 11:21 AM Joshua Jensen writes: Background: To tie Perforce changelists to Git commits, I add a note to a commit with the form "P4@123456". Later, I use the note to sync down the closest Perforce changelist matchi

Quickly searching for a note

2012-09-21 Thread Joshua Jensen
Background: To tie Perforce changelists to Git commits, I add a note to a commit with the form "P4@123456". Later, I use the note to sync down the closest Perforce changelist matching the Git commit. I search for these notes by getting a list of revisions: git rev-list --max-count=100