Due to the negative feedback the op amp will always try to keep its inputs at the same voltage -- i.e., the input voltage, since the non-inverting input is connected directly to the input.
For positive input, the voltage on the right node of \$R_1\$ (the inverting input) is positive so a current flows through \$R_1\$ from right to left. Since no current flows into the op amp's input, the same current must flow from right to left through \$R_2\$ -- which means the output is at a higher voltage than the input (or equal to the input, if \$R_2 = 0\$). The op amp drives the output to the desired voltage by sourcing a current out of its output (the anode of \$D_1\$), and this current flows through \$D_1\$. The op amp's output will be a diode drop higher than the output voltage.
For negative input, the op amp tries to drive the voltage at its inverting input to the same negative input voltage. This would require a current flowing through \$R_1\$ from left to right, which in turn requires a current flowing through \$R_2\$ from left to right. However, \$D_1\$ blocks such a current in that direction. The op amp sinks current into its output in order to try to pull the output voltage down, but again the op amp's output current is blocked by \$D_1\$. Instead, the op amp's output current flows through \$D_2\$ from ground. This isn't really a short circuit because most op amps can only source or sink tens of milliamps at their output. The op amp's output voltage would thus be stuck at a diode drop below ground in this case.