Re: [PATCH 4/6] Rename get_mode() to decode_tree_mode() and export it

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

 



Tomas Carnecky wrote:

> Other sources (fast-import-helper.c) may want to use this function
> to parse trees.

Sounds like a reasonable idea, but you've left out what the function
does.

So:

 get_mode() parses an octal "100644 " string as might
 appear in a tree object.  Returns a pointer to the first
 character after the mode string, or NULL on error.
--
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]