Move pending under Head in output
@@ -87,6 +87,14 @@ impl std::fmt::Display for Info {
)?;
}
+ if !self.disable_fields.pending && self.pending != "" {
+ write_buf(
+ &mut buf,
+ &self.get_formatted_info_label("Pending: ", color),
+ &self.pending,
+ )?;
+ }
+
if !self.disable_fields.version {
write_buf(
&mut buf,
@@ -192,14 +200,6 @@ impl std::fmt::Display for Info {
)?;
}
- if !self.disable_fields.pending && self.pending != "" {
- write_buf(
- &mut buf,
- &self.get_formatted_info_label("Pending: ", color),
- &self.pending,
- )?;
- }
-
if !self.disable_fields.lines_of_code {
write_buf(
&mut buf,
