Re: Tracking branch history

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

 




On Sat, 13 May 2006, Shawn Pearce wrote:
>
> +
> +	/*
> +	 * If logging is required make sure we can append to the log.
> +	 */
> +	logpath = strdup(git_path("logs/%s", path + pfxlen));

I don't think you need the strdup().

I also think you might as well just let the logging silently fail, but 
hey, that's up to you.

		Linus
-
: 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]