Skip to content

#22303 fix mode representation git::tree ( in base 8 )

What does this MR do?

Present filemode in base 8 ( instead of 10 ).

The problem in #22303 (closed) was that the files are getting modes in base 10. ( e.g. for the symlink it's returning 40960 instead of 120000 ).

Are there points in the code the reviewer needs to double check?

The test is just to make sure that mode is returning the number in base 8. I didn't test specifically for symlink file return.

Why was this MR needed?

Screenshots (if relevant)

Screen_Shot_2017-03-07_at_7.46.06_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #22303 (closed)

Merge request reports