Commit d422d06
object-file: inline write_buffer()
write_buffer() reports the OS error if it is unable to write. Its only
caller dies in that case, giving some more context in its last message.
Inline this function and show only a single error message that includes
both the context (writing a loose object file) and the OS error. This
shortens the code and simplifies the output.
Signed-off-by: René Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent c48035d commit d422d06
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1864 | 1864 | | |
1865 | 1865 | | |
1866 | 1866 | | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | 1867 | | |
1875 | 1868 | | |
1876 | 1869 | | |
| |||
2015 | 2008 | | |
2016 | 2009 | | |
2017 | 2010 | | |
2018 | | - | |
2019 | | - | |
| 2011 | + | |
| 2012 | + | |
2020 | 2013 | | |
2021 | 2014 | | |
2022 | 2015 | | |
| |||
0 commit comments