Re: [PATCH/RFC] More friendly message when locking the index fails.

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

 



On Wed, Feb 4, 2009 at 10:58, Matthieu Moy <Matthieu.Moy@xxxxxxx> wrote:
> +                                   "This probably means a git process crashed in this repository earlier.\n"
> +                                   "Make sure no other git process is running and remove the file manually.",
> +                                   get_index_file(), strerror(lock_error));

How about "If no other git process is currently running, this probably
means...." instead? E.g., sometimes I run 'git commit' in one terminal
window, and then switch to another before committing (to review the
diff for example), which would cause an index.lock file to be present
validly.

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux